Closed rafaelbastiansch closed 3 years ago
Hi @rafaelbastiansch,
Unfortunately, I could not reproduce your issue.
@import '~vuetify/src/styles/generic/_colors.scss';
Worked for me just fine (although it did give an error about undefined $shades
variable, but this seems to be unrelated to the case).
So it seems that I'll need a minimal reproduction repo for this. Can you make one using rollup's REPL, REPL.it, or just GitHub repo?
I believe I also had an issue like that but importing from JS file using import
worked fine. Try it out if that's an option for you.
@rafaelbastiansch @rchl Closing this for now, please reopen if you encounter this problem again.
Can't I import scss files from packages inside node modules?
I can import css files like this
@import '~vuetify/dist/vuetify.css';
but when I tried to import scss files like this
@import '~vuetify/src/styles/generic/_colors.scss';
it doesn't work, and give me an errorCan't find stylesheet to import. @import '~vuetify/src/styles/generic/_colors.scss';
Is there any way to import pre compiled style files?