Open transtone opened 3 years ago
方便的话可否开个复现的仓库?
复现仓库: https://github.com/transtone/nutui-windicss
很囧的是,不是taro 的问题,是 NutUI 的版本问题。NutUI-3.0.3
正常,NutUI-3.1.3
异常
ps:
如果照此仓库的 config/index.js
中的 plugins 的写法,也就是多一个默认的 @tarojs/plugin-html
,
则运行 taro tailwind --init
会报错。
这些样式虽然可以在 virtual:windi.css 文件中找到,但是并不会对页面元素生效。
之前用 taro-3.2.x 版本的时候是正常的。