Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 7, 2019. It is now read-only.

Commit 9699768

Browse files
Material info
1 parent 82326c6 commit 9699768

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

‎src/main.js‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ import Framework7 from 'framework7'
77
// Import F7 Vue Plugin
88
import Framework7Vue from 'framework7-vue'
99

10-
// Import F7 iOS Styles
11-
import Framework7IOSTheme from 'framework7/dist/css/framework7.ios.min.css'
12-
import Framework7IOSThemeColors from 'framework7/dist/css/framework7.ios.colors.min.css'
10+
// Import F7 iOS Theme Styles
11+
import Framework7Theme from 'framework7/dist/css/framework7.ios.min.css'
12+
import Framework7ThemeColors from 'framework7/dist/css/framework7.ios.colors.min.css'
13+
/* OR for Material Theme:
14+
import Framework7Theme from 'framework7/dist/css/framework7.material.min.css'
15+
import Framework7ThemeColors from 'framework7/dist/css/framework7.material.colors.min.css'
16+
*/
1317

1418
// Import App Custom Styles
1519
import AppStyles from './css/app.css'
@@ -27,10 +31,12 @@ Vue.use(Framework7Vue)
2731
new Vue({
2832
el: '#app',
2933
template: '<app/>',
30-
// Init Framework7 by passing its parameters here
34+
// Init Framework7 by passing parameters here
3135
framework7: {
3236
root: '#app',
33-
routes: Routes
37+
/* Uncomment to enable Material theme: */
38+
// material: true,
39+
routes: Routes,
3440
},
3541
// Register App Component
3642
components: {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /