Replies: 4 comments 4 replies
-
目前内置 tailwind 和 unocss 功能都是比较老的时期做的,经过时间太久了,用的人也很少,现在都处于不可用状态。 如需使用,请参照 tailwind 官方文档改用 postcss 插件或者 webpack 插件等形式使用,如果后续 umi 有计划了再完善内置的。 |
Beta Was this translation helpful? Give feedback.
2 replies
-
It seems that the adaptation was not properly done; https://umijs.org/en-US/docs/guides/generator#tailwind-css-configuration-generator |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我使用pnpm create umi aproject创建的新项目,通过
pnpm exec umi g tailwindcss
添加配置后,src目录下的所有css文件使用@apply
指令,构建出的代码没有被解析转译(如下图:Beta Was this translation helpful? Give feedback.
All reactions