File tree 2 files changed +7
-8
lines changed
2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
import Vue from 'vue'
2
2
3
- // Styles
4
- < % css . forEach ( function ( c ) { % > import '<%= relativeToBuild(resolvePath(c.src || c)) %>'
5
- < % } ) % >
3
+ // Framework7 Styles
4
+ < % if ( options . css ) { % > import './f7.styles.less' < % } % >
5
+ < % if ( options . f7IconsSrc ) { % > import '<%= options.f7IconsSrc %>' < % } % >
6
+ < % if ( options . mdIconsSrc ) { % > import '<%= options.mdIconsSrc %>' < % } % >
7
+
8
+ // User provided styles
9
+ < %= css . map ( c => `import '${ relativeToBuild ( resolvePath ( c . src || c ) ) } '` ) % >
6
10
7
11
// Default layout
8
12
import _default from '<%= layouts[' default '] %>'
Original file line number Diff line number Diff line change @@ -4,11 +4,6 @@ import Framework7Vue from 'framework7-vue'
4
4
import { routes } from './f7.router'
5
5
import Framework7VueComponents from './f7.components'
6
6
7
- // Framework7 Styles
8
- < % if ( options . css ) { % > import './f7.styles.less' < % } % >
9
- < % if ( options . f7IconsSrc ) { % > import '<%= options.f7IconsSrc %>' < % } % >
10
- < % if ( options . mdIconsSrc ) { % > import '<%= options.mdIconsSrc %>' < % } % >
11
-
12
7
// Register F7 Vue Components
13
8
Vue . use ( Framework7VueComponents )
14
9
You can’t perform that action at this time.
0 commit comments