Skip to content

Instantly share code, notes, and snippets.

@Moln
Created March 7, 2018 09:30
Show Gist options
  • Save Moln/bfbb5c568ed122047a4fda92e7114e35 to your computer and use it in GitHub Desktop.
Save Moln/bfbb5c568ed122047a4fda92e7114e35 to your computer and use it in GitHub Desktop.
Vue 文件打包错误
Vue packages version mismatch:

- [email protected]
- [email protected]

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

问题原因

Vue 与 vue-template-compiler 两个版本不一致导致. 更新这两个组件, 确保两个版本一致

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment