You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
unilife/Front/前端环境.md

34 lines
424 B

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

# 配置前端环境
---
### 检查node版本
```
npm -v
10.9.2
```
### 安装Vite
```
npm create vite@latest my-vue-app
```
此时vite会提示你选择
1⃣Select a framework 👉 选择 Vue
2⃣ Select a variant 👉 选择 TypeScript
然后安装pnpm
```
npm install -g pnpm
```
检查是否安装成功
```
pnpm -v
```
进入项目(项目我已经建好了,上传到项目里了)
```
cd Front/unilife
```