nvue中不支持如下css。如全局或公共样式受影响,建议将告警样式写在ifndef APP-PLUS-NVUE的条件编译中,详情如下:
14:43:07.042 ERROR: Selector uni-view
is not supported. Weex only support single-classname selector at App.vue:10
14:43:07.046 ERROR: Selector uni-form
is not supported. Weex only support single-classname selector at App.vue:15
页面名是home.nvue
项目是通过HbuilderX新建创建的
uni-view 和 uni-form 全局并未搜索到这两个类
mainifest.json
"app-plus" : {
"nvueCompiler" : "uni-app"
}
如果把这个设置weex就不会报这个错误
我想了解下这个问题具体是如何产生的 ,样式书写不规范吗
3 个回复
邦德
同样的问题,压根不知道报错的这些类名从哪里来的
乃斯乃斯
一样的,我也遇到了,求解
jasonDev - 努力
同问,到底怎么回事啊?
10:56:03.022 nvue中不支持如下css。如全局或公共样式受影响,建议将告警样式写在ifndef APP-PLUS-NVUE的条件编译中,详情如下:
10:56:03.038 ERROR: Selector
uni-view
is not supported. Weex only support classname selector at App.vue:17810:56:03.054 ERROR: Selector
uni-progress
is not supported. Weex only support classname selector at App.vue:18210:56:03.105 ERROR: Selector
uni-checkbox-group
is not supported. Weex only support classname selector at App.vue:18210:56:03.106 ERROR: Selector
uni-form
is not supported. Weex only support classname selector at App.vue:18610:56:03.129 WARNING:
display
is not a standard property name (may not be supported) at App.vue:19010:56:03.156 WARNING:
display
is not a standard property name (may not be supported) at App.vue:210