1. 新建项目
npm create vue@latest # 使用vite构建
vue create vue3-1 # 使用vue-cli构建
2. 安装依赖包
npm install
3. 启动项目
npm run dev # 使用vite构建
npm run serve # 使用vue-cli构建
1. 新建项目
npm create vue@latest # 使用vite构建
vue create vue3-1 # 使用vue-cli构建
2. 安装依赖包
npm install
3. 启动项目
npm run dev # 使用vite构建
npm run serve # 使用vue-cli构建