在升级脚手架到vue-cli3.0版本的时候出现了这个报错: [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. 我在这里大概说一下出现这个报错的原因在哪里和解决办…
使用vue-cli搭建的项目,启动报错 You are using the runtime-only build of Vue where the template compiler is not available. 解决方法 在vue.config.js文件中配置 const path = require("path"); module.exports = { // webpack配置 - 简单配置方式 configureWebpack: { resolve: { alias: {…
异常 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 }…