![](https://avatars.plurk.com/6843666-medium50386972.gif)
Lastor
coding 之前用 Vite + Pug + WindCSS,發現 Pug 只要用 each 之後,data 只要一改動 WindiCSS 就會炸掉,很難受的 bug
![](https://avatars.plurk.com/6843666-medium50386972.gif)
Lastor
快速實驗了一下改用 handlebars,結果就不會有這種情況發生
![](https://avatars.plurk.com/6843666-medium50386972.gif)
Lastor
這樣看來問題應該是出在 vite-plugin-pug 上面
![](https://emos.plurk.com/37f99a3794522a5373fa1a97830582fd_w48_h48.gif)
![](https://avatars.plurk.com/6843666-medium50386972.gif)
Lastor
不過其實這幾天 windicss 跟 windi 的 vite plugin 都有更新說,也有可能單純是更新修好了甚麼