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
+9-1
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ module.exports = {
110
110
111
111
## Passing Options to Pre-Processor Loaders
112
112
113
-
Sometimes you may want to pass options to the pre-processor's webpack loader. You can do that using the `css.loaderOptions` option in `vue.config.js`. For example, to pass some shared global variables to all your Sass styles:
113
+
Sometimes you may want to pass options to the pre-processor's webpack loader. You can do that using the `css.loaderOptions` option in `vue.config.js`. For example, to pass some shared global variables to all your Sass/Less styles:
114
114
115
115
```js
116
116
// vue.config.js
@@ -122,6 +122,14 @@ module.exports = {
122
122
// @/ is an alias to src/
123
123
// so this assumes you have a file named `src/variables.scss`
0 commit comments