Subscribe on changes!

Vue packages version mismatch:

avatar
Nov 26th 2020

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?

avatar
Nov 26th 2020

They are @vue/compiler-* for Vue 3.

avatar
Nov 26th 2020

报错依旧需要 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

avatar
Nov 26th 2020

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