Merge pull request #2584 from yoyo837/dev

Something warning about styleResources
This commit is contained in:
Sébastien Chopin 2018-01-14 15:13:43 +01:00 committed by GitHub
commit 47af154320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: Then in your pages, you can use directly:
`pages/index.vue` `pages/index.vue`