mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
misc: fix typo
This commit is contained in:
parent
ee95461cb1
commit
859d632771
@ -1,6 +1,6 @@
|
||||
# Using build.styleResources with Nuxt.js
|
||||
|
||||
This is usefull when you need to inject some variables and mixins in your pages without having to import them everytime.
|
||||
This is useful when you need to inject some variables and mixins in your pages without having to import them every time.
|
||||
|
||||
Nuxt.js uses https://github.com/yenshih/style-resources-loader to achieve this behaviour.
|
||||
|
||||
@ -27,7 +27,7 @@ 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
|
||||
:warning: If you want to use `@import` in these `styleResources` files, you should use path alias (`~@`) like this
|
||||
|
||||
```scss
|
||||
@import '~@/assets/other.scss';
|
||||
|
Loading…
Reference in New Issue
Block a user