使用vite创建vue3项目 1.安装vite npm i -g create-vite-app 2.使用create-vite-app 命令创建项目 create-vite-app 项目名 3.进入项目,安装依赖,运行项目 cd 项目名 npm install npm run dev 4.成功响应