当npm run serve 的时候 出现这个错误 @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependency tree. 解释: @ vejs /plugin-vue需要vue(>=3.2.13)或@vue/compiler-sfc存在于依赖树中。 只要大于或等于3.2.13版本都能处理该问题 解决办法: yarn : yarn add vue@3.2.26 npm : npm i vue@3.2.26