Replies: 2 comments 1 reply
-
这个最有可能的是由于你app机器的 webview 版本比较低,然后这种 css 不识别,你可以尝试下面 link 的方案,去降级一下 css |
Beta Was this translation helpful? Give feedback.
1 reply
-
假如你确定是 css 变量,在你的模拟器或者真机上不支持,但是你一定要兼容到这个版本,而不是设定最低的 webview 版本的话, 所有的特性配置可以参考: https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/FEATURES.md |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我在
@theme {}
中定义了一些变量:在 Tailwind Play 看了是生效的,但在 uni-app 中渲染成 app ,只有 66 和 99 有颜色,其他最后一部分有字母的都没有背景颜色。
不知道
weapp-tailwindcss
版本和tailwindcss
版本是否需要一致?如果有要求,可以加一个peerDependencies
。Beta Was this translation helpful? Give feedback.
All reactions