构建vite+vue3项目 官方文档 vite官方中文文档 一、使用vite初始化项目 npm init vite@latest 运行之后 选择vue,和 typescript 二、切换目录,执行 npm install 安装依赖包 三、运行项目 npm run dev