vitejs

[vue] Error: @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependency tree.

## 问题描述 ![](https://img2023.cnblogs.com/blog/1274626/202306/1274626-20230620091747723-1505063965.png) ##解决方法 ``` npm i vue@3.2.26 ``` 重新运行即可 ``` npm r ......

npm安装依赖环境报错(vite、@vitejs/plugin-legacy等)

一、问题: 在做vite + vue3项目,由于前端页面加载过慢,处理vite相关优化时安装相关插件提示的报错信息,在这里记录是方便遇到同样问题的小伙伴能快速解决问题。 二、原因: npm的版本过高才导致 三、解决方案:在npm 后面加 --force 或者 --legacy-peer-deps n ......
plugin-legacy 环境 legacy plugin vitejs
共2篇  :1/1页 首页上一页1下一页尾页