Skip to content
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

高版本的unocss在taro中报错 #165

Open
pingjiaoku opened this issue Dec 20, 2024 · 2 comments
Open

高版本的unocss在taro中报错 #165

pingjiaoku opened this issue Dec 20, 2024 · 2 comments

Comments

@pingjiaoku
Copy link

unocss、unocss-preset-weapp、@unocss/webpack的版本都是0.65.0,运行时报错
image

改为0.53.1则不会报错

@MellowCo
Copy link
Owner

unocss 0.59.0 改成 esm 了,taro 方面不支持,可以看下面这个 issue

NervJS/taro#15487

@pingjiaoku
Copy link
Author

unocss 0.59.0 改成 esm 了,taro 方面不支持,可以看下面这个 issue

NervJS/taro#15487

好的,谢谢。(大佬有考虑再写个变体组的功能吗,这个:https://unocss.net/transformers/variant-group,我在taro中试过,好像就只有h5有效,小程序不生效)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants