[SOLVED] loginScreen undefined migrating v3to v5

Im trying to migrated from v3 to v5 and Im using the framework7.min.js, and I got a problem at ones haha!!

I get a problem with the loginScreen,
undefined is not an object (evaluating 'app.loginScreen.create')

Using:

var $$ = Dom7;

var loginScreen;
var app = new Framework7({
	init: false,
  root: '#app',      
  theme: 'ios',
  on: {
    init: function () {
        console.log('App initialized');
        createLogin(); 
    },...

function createLogin(){
    loginScreen = app.loginScreen.create({
    content: '<div class="login-screen">'+...

I donĀ“t know why it is undefined?

SOLVED - Im not sure what I did for a misstake at first, but it is working now :slight_smile:

Minimum code on jsfiddle?