vite(推荐使用vite:快速冷启动(秒开),即时模块热更新,按需编译)全局安装vitenpmi-gcreate-vite-app使用vite1。0构建项目create-vite-app项目名使用最新版本的vitenpminitvite@latest指定项目名usetemplatenpminitvite@latest项目名--templatevue安装依赖npmirunprojectnpmrundevuninstallvitenpmuninstall-gcreate-vite-app

vite(推荐使用vite:快速冷启动(秒开),即时模块热更新,按需编译)全局安装vitenpmi-gcreate-vite-app使用vite1。0构建项目create-vite-app项目名使用最新版本的vitenpminitvite@latest指定项目名usetemplatenpminitvite@latest项目名--templatevue安装依赖npmirunprojectnpmrundevuninstallvitenpmuninstall-gcreate-vite-app