1. 项目初化 # 全局安装vite-app npm i -g vite-app # 创建项目 yarn create vite-app <project-name> # 或者 npm init vite-app <project-name> # 进入项目,安装依赖 cd <project-name> yarn # 或 npm i # 运行项目 yarn dev # 打开...
1. 项目初化 # 全局安装vite-app npm i -g vite-app # 创建项目 yarn create vite-app <project-name> # 或者 npm init vite-app <project-name> # 进入项目,安装依赖 cd <project-name> yarn # 或 npm i # 运行项目 yarn dev # 打开...