Created
September 22, 2017 00:36
-
-
Save blikblum/e9c9994f354b902bff85afe5392d6045 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {createApp, showView} from 'marionette.f7' | |
import HomeView from './home/view' | |
import Tab2View from './tab2/view' | |
createApp({ | |
options: { | |
material: false | |
}, | |
views: { | |
main: { | |
el: '.view-main', | |
preRender: true, | |
rootPage: new HomeView({ | |
el: '#home' | |
}) | |
}, | |
secondtab: { | |
el: '.view-tab2', | |
rootPage: function () { | |
return new Tab2View() | |
} | |
}, | |
login: { | |
el: '.view-login', | |
popup: true | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment