mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
Something warning about styleResources
This commit is contained in:
parent
c3bcda873c
commit
e5f7001eb5
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user