# Easy-Admin-Vue
**Repository Path**: tcc/easy-admin-vue
## Basic Information
- **Project Name**: Easy-Admin-Vue
- **Description**: 基于 Ant Design 开发的 Easy-Admin
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 18
- **Forks**: 5
- **Created**: 2020-10-09
- **Last Updated**: 2024-12-16
## Categories & Tags
**Categories**: restful
**Tags**: Vue
## README
Easy-Admin-Vue
- 预览: http://ea.easy-frame.top (admin/admin123)
- 文档: http://ea-doc.easy-frame.top/
- 更新日志: https://gitee.com/tcc/easy-admin-vue/blob/master/CHANGELOG.md
- 常见问题: http://ea-doc.easy-frame.top/front-end/faq.html
- Ant Design Pro: https://pro.antdv.com/
- Ant Design of Vue: https://www.antdv.com/docs/vue/introduce-cn/
## 下载
从 码云 仓库中直接安装最新的代码
```
$ git clone --depth=1 https://gitee.com/tcc/easy-admin-vue.git easy-admin-vue
```
## 目录结构
```
├── public
│ └── logo.png # LOGO
| └── index.html # Vue 入口模板
├── src
│ ├── api # Api ajax 等
│ ├── assets # 本地静态资源
│ ├── config # 项目基础配置,包含路由,全局设置
│ ├── components # 业务通用组件
│ ├── core # 项目引导, 全局配置初始化,依赖包引入等
│ ├── layouts # 布局
│ ├── router # Vue-Router
│ ├── store # Vuex
│ ├── utils # 工具库
│ ├── locales # 国际化资源
│ ├── less # 样式
│ ├── views # 业务页面入口和常用模板
│ ├── App.vue # Vue 模板入口
│ └── main.js # Vue 入口 JS
│ └── permission.js # 路由守卫(路由权限控制)
├── README.md
└── package.json
```
## 配置
打开文件`/easy-admin-vue/.env.development`,修改以下配置
```yaml
# 后端服务访问地址
VUE_APP_API_BASE_URL=http://127.0.0.1
# 代码生成 - 前端项目路径(填写前端项目所在磁盘路径)
VUE_APP_FRONT_END_PATH=/Users/tengchong/workspaces/webStorm/vue/easy-admin-vue
```
## 安装依赖
```
$ yarn install
```
> 如果网络状况不佳,可以设置 `yarn` 的 `npm` 加载源,如 `yarn config set registry https://registry.npm.taobao.org`
## 启动服务
```
$ yarn run serve
```
当控制台显示一下信息表示启动成功
```
DONE Compiled successfully in 1493ms 12:28:20 PM
App running at:
- Local: http://localhost:8000/
- Network: http://192.168.1.68:8000/
```
使用浏览器访问 [http://localhost:8080/](http://localhost:8080/ 'http://localhost:8080/')
预览
----
基于 [Ant Design Pro](https://pro.antdv.com/) 开发的 [Easy-Admin-Vue](https://gitee.com/tcc/easy-admin-vue)
.png")
.png")
.png")
.png")
.png")
.png")
.png")
.png")
.png")
.png")
.png")
.png")
.png")
.png")
.png")
.png")
.png")