vue-router.esm.js?ac56:2316 TypeError: Cannot read properties of undefined (reading ‘$createElement‘
报错:vue-router.esm.js?ac56:2316 TypeError: Cannot read properties of undefined (reading '$createElement')错误原因:把routes配置项的component写成了components。修改后解决报错。
·
报错:
vue-router.esm.js?ac56:2316 TypeError: Cannot read properties of undefined (reading '$createElement')
错误原因:
把routes配置项的component写成了components。
修改后解决报错。
更多推荐
已为社区贡献12条内容
所有评论(0)