From e5f7001eb537eac203a4fe373fcd9a31e74a22af Mon Sep 17 00:00:00 2001 From: yoyo837 Date: Sun, 14 Jan 2018 20:08:17 +0800 Subject: [PATCH] Something warning about styleResources --- examples/style-resources/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/style-resources/README.md b/examples/style-resources/README.md index ba5e4486c8..3376dc6cf7 100644 --- a/examples/style-resources/README.md +++ b/examples/style-resources/README.md @@ -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`