前端页面无法渲染,报错:
[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.coonfig.js中添加:runtimeCompiler:true