windicss / windicss-webpack-plugin

🍃 Windi CSS for webpack ⚡
https://windicss.org/integrations/webpack.html
79 stars 19 forks source link

vue sfc custom block error #103

Closed imshenshen closed 2 years ago

imshenshen commented 2 years ago

https://github.com/windicss/windicss-webpack-plugin/pull/102 after update 1.5.8 ,the vue-i18n-loader custom block <i18n> dose not work。the vue-i18n-loader didn't run any code

harlan-zw commented 2 years ago

Hey @imshenshen

Thanks for reporting that issue. I've dug into the logic for pitching and found some underlying logic issues. There's a fix in 1.6.0 which should hopefully solve this and the issue in #102.

Can you give it a go and let me know. @winixt Can you also test when you get a chance

I had some issues trying to get the i18n block working altogether in the vue2 vue-cli example app, as far as I could tell it wasn't related to windi, so if there's still a bug would you mind sharing a reproduction repo

winixt commented 2 years ago

I have written a custom loader to handle.