How do I include a SCSS file in my Nuxt module?
How do I include a SCSS file in my Nuxt module please?
When developing locally, the below works as intended. However, when I package and install the module in a site, it complains that it can't find
node_modules/foo/dist/runtime/main.scss
.
It looks like I need to either change the resolver to point at src/runtime/main.scss
, or dist/runtime/main.css
when packaged, but I don't know how to achieve that.
Thanks2 Replies
Did anyone have any thoughts on this?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View