在使用VUE的过程中有可能会遇到这样的提示: “Failed to mount component: template or render function not defined”,提示挂载组件失败,原因可能是:
- 模板文件有问题——可检查代码查找问题;
- vue-router方面的问题——可检查vue-router的相关代码是否有问题;
在使用VUE的过程中有可能会遇到这样的提示: “Failed to mount component: template or render function not defined”,提示挂载组件失败,原因可能是: