Reputation: 932
I just install vite, because my nuxt app got extremely slow. Like 10-30 seconds for hot module replacement.
But now, the sass in my components for tailwind does not work anymore.
[plugin:vite:css] Preprocessor dependency "sass" not found. Did you install it?
Altough, if I remove the vite message in the browser per click:
require is not defined
But a sass-loader is installed?!
Upvotes: 6
Views: 6499
Reputation: 313
Try running
yarn add --dev sass sass-loader@latest
Something similar happened to me
Upvotes: 10