misc: fix typo

This commit is contained in:
Clark Du 2018-07-26 16:57:32 +01:00
parent ee95461cb1
commit 859d632771
No known key found for this signature in database
GPG Key ID: 32CBD8CD478AF898

View File

@ -1,6 +1,6 @@
# Using build.styleResources with Nuxt.js # 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. 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 ```scss
@import '~@/assets/other.scss'; @import '~@/assets/other.scss';