Vite 搭建Vue3.x

3/29/2022

Vue官网 (opens new window)

# 创建Vue 3.x项目


yarn create vite <project-name> --template vue

# 运行项目


cd <project-name>

yarn

yarn dev

这样 一个使用 vite 搭建的 vue3.x的项目就起来了

  • vite启动服务

  • 页面

  • 项目结构

Last Updated: 3/15/2024, 2:13:06 PM