You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/css.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,15 @@ npm install -D less-loader less
21
21
npm install -D stylus-loader stylus
22
22
```
23
23
24
+
::: tip Note on webpack 4
25
+
When using `webpack` version 4, the default in Vue CLI 4, you need to make sure your loaders are compatible with it. Otherwise you will get errors about confliciting peer dependencies. In this case you can use an older version of the loader that is still compatible with `webpack` 4.
26
+
27
+
```bash
28
+
# Sass
29
+
npm install -D sass-loader@^10 sass
30
+
```
31
+
:::
32
+
24
33
Then you can import the corresponding file types, or use them in `*.vue` files with:
0 commit comments