Initial MainView url

My html

        <div class = "view view-main">               
        </div>            

My Script

       // Here you can initialize the app
        var myApp = new Framework7();

        // If your using custom DOM library, then save it to $$ variable
      var $$ = Dom7;

       // Add the view
       var mainView = myApp.views.create('.view-main', {
            url:'pages/login.php'
         // enable the dynamic navbar for this view:
            //dynamicNavbar: true
       });

My Question my mainView unable load url pages/login.php? what wrong?

Where is your routes? Url passed there must match specific route