[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.
解决方法:在配置文件webpack.base.conf.js中添加
resolve: { alias: { 'vue': 'vue/dist/vue.js' } }
转自:https://www.imooc.com/article/17868
参考:https://www.cnblogs.com/xiangxinhouse/p/8447507.html
https://blog.csdn.net/qq_35324453/article/details/80920344