Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
front-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
front-backend
Commits
ce5daa75
Commit
ce5daa75
authored
May 25, 2020
by
ZhengJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[代码完善](v2.5): v2.5 update README.md
parent
dcf931de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
15 deletions
+4
-15
README.md
+4
-15
No files found.
README.md
View file @
ce5daa75
...
...
@@ -21,7 +21,7 @@ ELADMIN 前端源码
#### Build Setup
```
bash
# 配置镜像加速
npm config
set
registry https://registry.npm.taobao.org
https://www.ydyno.com/archives/1219.html
# 安装依赖
npm install
...
...
@@ -30,23 +30,12 @@ npm install
npm run dev
# 构建生产环境
npm run build
# 如果遇到 node-sass 安装慢,或者安装不了的问题,请查看
- https://www.ydyno.com/archives/1219.html
-
npm run build:prod
```
#### 常见问题
1、依赖安装失败
可通过配置淘宝的镜像源解决
```
npm config set registry https://registry.npm.taobao.org
```
2、linux 系统在安装依赖的时候会出现 node-sass 无法安装的问题
1、linux 系统在安装依赖的时候会出现 node-sass 无法安装的问题
解决方案:
```
...
...
@@ -54,7 +43,7 @@ npm config set registry https://registry.npm.taobao.org
2. 直接使用:npm install --unsafe-perm
```
3
、加速node-sass安装
2
、加速node-sass安装
https://www.ydyno.com/archives/1219.html
#### 反馈交流
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment