vue中的错误日志
一、Error compiling template: Component template requires a root element, rather than just text. 这个错误意思是,每一个组件中的模板必须含有根元素,不能直接写文本
二、Do not use built-in or reserved HTML elements as component id: div 不用把html元素当做组件的名称去使用
三、Unknown custom element: <as> - did you register the component correctly? For recursive components, make sure to provide the "name" option. 组件名称没有被解析
四、Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead. 模板有且只能有一个根标签
五、Property or method "msg" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. msg没有定义
六、The "data" option should be a function that returns a per-instance value in component definitions 组件中的data应该是一个函数
最新文章
- C语言学习 第十次作业总结
- nginx+uwsgi<;django web环境的搭建>;
- [转]linux中如何安装软件?
- 关于java.lang.String理解中的一些难点
- 17款免费的Bootstrap后台管理模板集合
- careercup-排序和查找 11.7
- HTML5画布
- 使用OpenSSL生成证书
- 【课程分享】基于plusgantt的项目管理系统实战开发(Spring3+JDBC+RMI的架构、自己定义工作流)
- asp.net core + mysql + ef core + linux
- 【Yii系列】处理请求
- springmvc常用注解标签详解【转】
- 201521123080《Java程序设计》第1周学习总结
- JavaScript作用域,内部函数比参数优先级高
- Java基础2:基本数据类型与常量池
- Oracle 动态SQL 注意细节 ORA-00911: 无效字符
- 剑指offer(52)正则表达式的匹配
- C#中删除集合中符合条件的元素以及需注意属相
- loglog()函数
- 2018.07.22 洛谷P1967 货车运输(kruskal重构树)