Vue packages version mismatch: 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.

根據提示然後需要將vue和vue-server-renderer的版本統一

所以將vue的版本提高到2.6.11

yarn add [email protected]

然後再運行 

yarn dev

就解決了!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章