在運行過程中出現的報錯如下:
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
就解決了!