我正在尝试从Vue 2版本升级到vue 3,我的项目有Nuxt.js框架。
我把这个命令放到upgrade中:vue add vue-next,升级成功了。但是当我尝试执行项目时,出现下一个错误:
Vue packages version mismatch:
- vue@3.0.7
- vue-server-renderer@2.6.12
This may cause things to work incorrectly. Make sure to use the same version for both.我不知道如何解决这个问题。
发布于 2021-09-16 14:46:07
这个问题发生在我的更新之后。这就是对我有效的方法。
在此处找到解决方案https://github.com/nuxt/nuxt.js/issues/6823
参见来自"daniplaninc“的帖子
https://stackoverflow.com/questions/66691166
复制相似问题