Skip to content

Instantly share code, notes, and snippets.

@blikblum
Created September 22, 2017 00:36
Show Gist options
  • Save blikblum/e9c9994f354b902bff85afe5392d6045 to your computer and use it in GitHub Desktop.
Save blikblum/e9c9994f354b902bff85afe5392d6045 to your computer and use it in GitHub Desktop.
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