62 lines
1.4 KiB
Markdown
62 lines
1.4 KiB
Markdown
# ELADMIN-WEB
|
||
|
||
ELADMIN 前端源码
|
||
|
||
#### 项目源码
|
||
|
||
| | 后端源码 | 前端源码 |
|
||
|--- |--- | --- |
|
||
| github | https://github.com/elunez/eladmin | https://github.com/elunez/eladmin-web |
|
||
| 码云 | https://gitee.com/elunez/eladmin | https://gitee.com/elunez/eladmin-web |
|
||
|
||
#### 开发文档
|
||
[https://docs.auauz.net/#/](https://docs.auauz.net/#/)
|
||
|
||
#### 前端模板
|
||
|
||
初始模板基于: [https://github.com/PanJiaChen/vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)
|
||
|
||
模板文档: [https://panjiachen.github.io/vue-element-admin-site/zh/guide/](https://panjiachen.github.io/vue-element-admin-site/zh/guide/)
|
||
|
||
#### Build Setup
|
||
``` bash
|
||
# 配置镜像加速
|
||
npm config set registry https://registry.npm.taobao.org
|
||
|
||
# 安装依赖
|
||
npm install
|
||
|
||
# 启动服务 localhost:8013
|
||
npm run dev
|
||
|
||
# 构建生产环境
|
||
npm run build
|
||
|
||
# 如果遇到 node-sass 安装慢,或者安装不了的问题,请查看
|
||
- https://www.ydyno.com/archives/1219.html
|
||
-
|
||
```
|
||
|
||
#### 常见问题
|
||
|
||
1、依赖安装失败
|
||
|
||
可通过配置淘宝的镜像源解决
|
||
```
|
||
npm config set registry https://registry.npm.taobao.org
|
||
```
|
||
|
||
2、linux 系统在安装依赖的时候会出现 node-sass 无法安装的问题
|
||
|
||
解决方案:
|
||
```
|
||
1. 单独安装:npm install --unsafe-perm node-sass
|
||
2. 直接使用:npm install --unsafe-perm
|
||
```
|
||
|
||
3、加速node-sass安装
|
||
|
||
https://www.ydyno.com/archives/1219.html
|
||
#### 反馈交流
|
||
|
||
- QQ交流群:891137268 |