当前位置: 首页 > Web前端 > HTML

前端构建工具vite相关命令

时间:2023-03-28 01:39:44 HTML

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