安装Vite npm install -g create-vite-app 利用Vite创建Vue3项目 create-vite-app 项目名 安装依赖 cd 项目名 npm install 运行项目 npm run dev