vue错误提示:
vue.runtime.esm.js?ff9b:619 [Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
(found in < Root >)
这个错误耽误了博主好多时间呀~看了很多其他的答案也都没有用
根据错误提示说明,和搜索之后得出结论:是项目引入的vue编译版本不对
解决方法:
打开src/main.js修改Vue对象初始化。
修改前:
new Vue({
el: '#app',
r