Using less in SFC cause error: Preprocessor dependency "less" not found
Wiihame opened this issue · 5 comments
Wiihame commented
Versions
nuxt-vite: 0.1.1
nuxt: 2.15.7
Reproduction
https://github.com/Wiihame/nuxt-vite-less
Description
When I use less in style tag in SFC, vite cause preprocessor dependency error for less. like this:
code:
BobbieGoede commented
I'm having the same issue but with sass/scss, downgrading to nuxt-vite@0.1.0
resolves this, not sure what causes it though.
Wiihame commented
I'm having the same issue but with sass/scss, downgrading to
nuxt-vite@0.1.0
resolves this, not sure what causes it though.
Thanks. I had solved this problem by downgrading to vite@2.3.4
, also not sure what causes it though😂
baixiaoyu2997 commented
same issue,use vant
BobbieGoede commented