- 博客(14)
- 收藏
- 关注
原创 Uncaught Error: [vue-router] route config “component“ for path: / cannot be a string id. Use an actu
router里面的配置是不是组件名如:App,而不是"App"出现了这个问题注意查看。
2024-04-15 15:56:27
115
1
原创 此错误消息表示您的代码中存在TypeError,特别是对象未定义,正在被评估为“plugin.install
需要去查看插件依赖有没有兼容软件vue2。
2023-03-31 23:24:23
97
原创 run `npm fund` for details解决,前端开发:项目运行npm install 提示XXX ...for funding run `npm fund`...的解决方法
yarn就能解决
2023-03-31 23:23:09
507
原创 npm ERR! Missing script: “serve“npm ERR! npm ERR! To see a list of scripts, run:npm ERR! npm ru
出现该错误是因为cd 路径不对,切换到当前文件就可以了。
2023-03-29 11:02:05
1466
2
原创 This is a warning message generated by the Vue.js framework, indicating that it has encountered an …
应该在需要暴露组件的地方输入: components: {组件名}
2023-03-29 11:01:10
82
原创 error The “login“ component has been registered but not used
组件是注册了但是还没有使用,应该在template里面使用该组件。
2023-03-29 10:55:58
371
原创 在 vue eslint 报错 error “Component name “*****“ should always be multi-word”,该怎么办?
如mystore改成myStore。
2023-03-29 10:51:47
164
原创 tablerowclassname没有实例
使用row.userName 等变量时,值为undefined,要看在tableRowClassName方法内,参数目前还只是个对象,需要解构再使用。
2023-03-29 10:50:35
49
原创 容易踩坑的点vue中
Vue+Element el-table属性row-class-name用法及踩坑。不对,需要换成多看几次自己的代码是不是路径/变成.要反复看是不是写错from。
2023-03-29 10:49:44
25
原创 Custom elements in iteration require ‘v-bind:key‘directives.错误解决
这是因为vue规定用v-for条件渲染,必须设置一个key。
2023-03-29 10:45:24
80
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人