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: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,14 @@
16
16
* Share variables, mixins, functions across all style files (no `@import` needed)
17
17
* Support for SASS, LESS and Stylus
18
18
* Aliases (`~/assets/variables.css`) and globbing as supported
19
+
* Support for hoisting `@use` imports
19
20
* Compatible with Nuxt's `build.styleResources` (and will take them over directly if included!)
20
21
* Blazing fast:tm:
21
22
22
23
## Warning
23
24
24
25
**Do not import actual styles**.
25
-
Use this module only to import variables, mixins, functions (et cetera) as they won't exist in the actual build. Importing actual styles will include them in every component and will also make your build/HMR magnitudes slower.
26
+
Use this module only to import variables, mixins, functions (et cetera) as they won't exist in the actual build. Importing actual styles will include them in every component and will also make your build/HMR magnitudes slower.
26
27
**Do not do this!**
27
28
28
29
## Setup
@@ -45,7 +46,8 @@ export default {
45
46
sass: [],
46
47
scss: [],
47
48
less: [],
48
-
stylus: []
49
+
stylus: [],
50
+
hoistUseStatements:true// Hoists the "@use" imports. Applies only to "sass", "scss" and "less". Default: false.
0 commit comments