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.

异常

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.

在 vue.config.js 中

module.exports={
runtimeCompiler:true
}
posted @ 2019-08-25 22:36  单方面  阅读(618)  评论(0编辑  收藏  举报