Skip to content

Instantly share code, notes, and snippets.

@ridhof
Created February 24, 2019 08:20
Show Gist options
  • Save ridhof/e0915241ac641a845d42c8ab5c091908 to your computer and use it in GitHub Desktop.
Save ridhof/e0915241ac641a845d42c8ab5c091908 to your computer and use it in GitHub Desktop.
var app = new Framework7({
// App root element
root: '#app',
// App Name
name: 'My App',
// App id
id: 'com.myapp.test',
// Enable swipe panel
panel: {
swipe: 'left',
},
theme: 'ios',
view: {
iosDynamicNavbar: false,
},
// Add default routes
routes: [
{
path: '/about/',
url: 'about.html',
},
],
// ... other parameters
});
var mainView = app.views.create('.view-main');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment