Something warning about styleResources

This commit is contained in:
yoyo837 2018-01-14 20:08:17 +08:00
parent c3bcda873c
commit e5f7001eb5
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,12 @@ You need to specify the patterns/path you want to include for the given pre-proc
}
```
:warning: If you want to use `@import` in these `styleResources` files, you should use path aliase (`~@`) like this
```scss
@import '~@/assets/other.scss';
```
Then in your pages, you can use directly:
`pages/index.vue`