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
I can do this by explicitly defining the @import in each .vue file, but this is pretty brittle (if I move some .scss into a new directory my @imports will break).
Come to think of it, I probably won't be migrating these really generic .scss files much, but at this point I'm just curious.
node -v
): v7.4.0npm -v
): 5.2.0Description:
I'd like to be able to import a couple Sass files globally: https://vue-loader.vuejs.org/en/configurations/pre-processors.html#loading-a-global-settings-file
I can do this by explicitly defining the
@import
in each.vue
file, but this is pretty brittle (if I move some.scss
into a new directory my@import
s will break).Come to think of it, I probably won't be migrating these really generic
.scss
files much, but at this point I'm just curious.I tried:
...per:
...but kept running into:
(
$fav-color
exists in_variables.scss
)I suspect the problem lies somewhere in your webpack-rules.js, but haven't really tinkered with it.
Feel free not to worry about this, but it might be nice to add vue-loader's official solution to Mix.
Thanks for all your hard work. Grats on the kiddo.
The text was updated successfully, but these errors were encountered: