Vue packages version mismatch:
Version
3.0.3
Reproduction link
https://github.com/Ruthevil/20201126-vue-cli-vue3.0.3
Steps to reproduce
利用vue-cli vue3.0.3搭建,启动报错
What is expected?
版本一致
What is actually happening?
- vue@3.0.3 (D:\20201126\node_modules\vue\index.js)
- vue-template-compiler@2.6.12 (D:\20201126\node_modules\vue-template-compiler\package.json)
They are @vue/compiler-*
for Vue 3.
报错依旧需要 vue-template-compiler Module Error (from ./node_modules/vue-loader/lib/index.js): [vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compiler implementation must be passed via options.
@ ./src/main.js 6:0-28 7:10-13 @ multi (webpack)-dev-server/client?http://192.168.43.193:8888&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
`vue-template-compiler is for Vue 2. A freshly generated project with the CLI works fine