vue的开发中v-for报错 [vue/require-v-for-key] Elements in iteration expect to have 'v-bind:key' directives.
摘要:
用的VS Code 工具,安装了vetur插件,报错了如下 [eslint-plugin-vue] [vue/require-v-for-key] Elements in iteration expect to have 'v-bind:key' directives.eslint-plugin-v 阅读全文
posted @ 2019-07-28 15:05
bingxiaoxiao
阅读(5268)
评论(0)
推荐(0)
摘要:
全局组件 第一步:在components文件夹下建立一个子文件Users.vue 第二步:在main.js中进行全局注册 第三步:在对应的文件中引用 局部组件 在components文件夹下新建一个子组件Users.vue文件,然后在对应的文件中引用 或者 阅读全文
posted @ 2019-07-28 13:55
bingxiaoxiao
阅读(5944)
评论(0)
推荐(2)

浙公网安备 33010602011771号