Browse Source

feat: 修改reade.md

luoyali 5 months ago
parent
commit
9f69bbd123
1 changed files with 38 additions and 0 deletions
  1. 38 0
      README.md

+ 38 - 0
README.md

@@ -45,3 +45,41 @@ cursor-pointer: 鼠标呈现手指样式
 <el-button plain :icon="Delete" :disabled="curSelectionRows.length === 0" @click="batch_del" type="danger">删除</el-button>
 
 ```
+
+
+### 常见问题
+1、如何运行项目
+ - 方案一
+	```bash
+	
+	# 切换镜像源
+	npm config set registry https://mirrors.huaweicloud.com/repository/npm/
+	
+	# 安装yarn
+	npm install -g yarn
+	
+	# 安装依赖
+	yarn
+	
+	# 运行项目
+	yarn dev
+	
+	```
+- 方案二
+  ```
+		# 有梯子,开梯子
+  
+  # 切换镜像源
+	npm config set registry https://registry.npmjs.org/ 和上面那个源,任选其一
+  
+  # 安装yarn
+	npm install -g yarn
+	
+	# 安装依赖
+	yarn
+	
+	# 运行项目
+	yarn dev
+  
+	```
+