vite创建vue3项目 通过vite创建项目 npm init vite 或者输入 npm creat vite@latest Need to install the following packages: create-vite Ok to proceed? (y) Y 然后输入文件名称,选择vue,variant选择js或者ts都可,之后可npm intsall下载依赖,即可运行