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
uniapp vue3环境下使用,有时候会出现类名未生成样式的情况 #254
Comments
问一下,是不是打开微信ide的代码热重载选项? |
感觉这个问题应该是 uni-app 的热更新整个没有生效,因为你图1里面,元素上甚至都没有出现 一般假如是插件问题,插件本身是不会去 你这个感觉是整个uni-app热更新都没有触发,所以还没运行到 顺便问一下,重新起 uni-app 就好了嘛,这个一般多久会出现一次? |
bg-[#4F84F9] last:mt-0这两个类是另外一个页面,只是举个例子,你看图中我标记的那个pb-6在右侧样式中就是没有的,出现的时间这个我没办法确定,就是偶尔会出现,我重新运行项目就有了,但是像last:mt-0这种伪类有时候重新运行项目也还是没有 |
描述这个Bug
A clear and concise description of what the bug is.
代码url
可提供转化失败的
wxml
,js
,wxss
这类的产物,可以直接复制粘贴在此处,或者提供
url
如何重现
uniapp vue3(vite构建,非hbuilderx)环境下使用类似 bg-[#4F84F9] last:mt-0亦或者是其他类名时偶尔会出现不生效的情况,审查元素查看后发现没有这个类名的样式,重新启动项目之后就有了
期望行为(可选)
所有的类名可以生效
屏幕截图(可选)
运行环境
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: