[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.config.js的文件,然后加入:
module.exports = { runtimeCompiler: true }
文件效果: