[vue] You are using the runtime-only build of Vue where the template compiler is not available
enviromentvue2 vue-cli3 vue.config.jserror在子组件方式内,调用Vue.component定义组件,并在子组件中使用You are using the runtime-only build of Vue where the template compilerreason应该是当前系统需要vue版本是runtime-only的solution如果vue-cli生成工程在vue.config.js定义runtimeCompiler: true,注意