-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
taro+react引用unocss.css报错 #125
Labels
Comments
taro 依赖很乱的 |
我重新装了一遍依赖,然后也试了给 package.json的unocss-preset-weapp 的版本弄成 link:../../ ,重新装了一遍依赖还是提示上面那个报错哎 |
我删除了node_modules,然后给enhanced-resolve锁定在5.10.0版本不行,然后删掉升级到最新版本也不行 |
你可以就直接拉取个taro+react的模板然后引入unocss试试呢?应该import 'uno.css'的时候就会报错 |
然后我以为是模板的问题,然后我重新拉了gitee一份,那个package.json里面也没有enhanced-resolve这个包,但是还是报错提示没有找到uno.css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在taro+react的项目引入了unocss、unocss-preset-weapp,并配置了unocss.config.js配置,但是在app.js里面引入uno.css的时候报错,提示resolve 'uno.css'报错,这个是我的unocss.config.js配置文件,麻烦有时间看下呢
The text was updated successfully, but these errors were encountered: