vue项目报错'Do not use built-in or reserved HTML elements as component id:'
2018-01-19 16:27
597 查看
开发vue项目时报错
这是因为组件的命名和html标签重复导致警告,所以创建组件的时候要注意组件命名与html标签区分开
有篇更详细的介绍,大家有兴趣可以看下:https://cnodejs.org/topic/5816aabdcf18d0333412d323
这是因为组件的命名和html标签重复导致警告,所以创建组件的时候要注意组件命名与html标签区分开
有篇更详细的介绍,大家有兴趣可以看下:https://cnodejs.org/topic/5816aabdcf18d0333412d323
相关文章推荐
- [Vue warn]: Do not use built-in or reserved HTML elements as component id:
- vue Do not use built-in or reserved HTML elements as component id: nav
- vue引入组件无法显示且报错[Vue warn]: Do not use built-in or reserved HTML elements as component id: header
- Do not mount Vue to <html> or <body> - mount tonormal elements instead.
- Vue2+Webpack错误:Do not mount Vue to <html> or <body> - mount tonormal elements instead.
- Do not mount Vue to <html> or <body> - mount to normal elements instead.
- Do not use lsnrctl and sqlplus as SYSDBA in RAC
- [Vue warn]: Failed to mount component: template or render function not defined. (found in root insta
- 异常-----Can't convert the date to string, because it is not known which parts of the date variable are in use. Use ?date, ?time or ?datetime built-in, or ?string.\u003Cformat> or ?string(format) built-
- eclipse中,项目有红叉之-Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix
- use this as the default and do not ask again
- Android Make sure other views do not use the same id
- vue项目根目录下index.html中的id="app",与src目录下的App.vue中的id="app"为什么不会冲突
- Exception in thread "main" java.lang.RuntimeException: Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, do
- rails reverse words you can't use them in as your column or tablename
- make sure other views do not use the same id .....
- Do not request Window.FEATURE_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead
- vue常见问题解决办法(一)|vue.js报错“Do not use 'new' for side effects“(main.js里)解决办法
- AS打包apk及常见错误解决办法Error:(4) Error: "ssdk_instapager_login_html" is not translated in "en" (English)
- 记一次Maven 打包multi-catch statement is not supported in -source 1.5 [ERROR] (use -source 7 or higher to