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

[Feature Request] 4.0.66版本中unocss生成异常 #11014

Closed
magao1991 opened this issue Apr 21, 2023 · 2 comments
Closed

[Feature Request] 4.0.66版本中unocss生成异常 #11014

magao1991 opened this issue Apr 21, 2023 · 2 comments

Comments

@magao1991
Copy link

@umijs/max及@umijs/plugins两个包升级到最新版本4.0.66后,编译生成的src/.umi/uno.css文件中生成的样式代码不全面,缺失了在unocss.config.ts文件中配置的自定义transformers、rules、presetWind、presetWind等样式规则,切换成4.0.62后正常

@fz6m
Copy link
Contributor

fz6m commented Apr 21, 2023

See #11013

@fz6m
Copy link
Contributor

fz6m commented Mar 29, 2024

目前 umi 的 tailwindcss / unocss 插件是侧载方式实现的,所以有一些功能缺失,如需完整的功能,可以不使用 umi 的插件,自己根据官网的文档配置 postcss 或 webpack 插件即可。

Refer:#11403 (comment)

@fz6m fz6m closed this as completed Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants