Created
February 23, 2019 09:12
-
-
Save ridhof/b45dfc0d2a77e167d7abb0df5b787979 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
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', | |
}, | |
// 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