|
1 | | -# vue-admin-webapp |
| 1 | +<p align="center"> |
| 2 | + <a href="https://gcddblue.gitee.io/vue-admin-webapp" target="_blank"> |
| 3 | + <img src="https://cn.vuejs.org/images/logo.png" width="100"> |
| 4 | + </a> |
| 5 | +</p> |
| 6 | +<p align="center"> |
| 7 | + <a href="https://github.com/vuejs/vue"> |
| 8 | + <img src="https://img.shields.io/badge/vue-2.6.10-brightgreen.svg"> |
| 9 | + </a> |
| 10 | + <a href="https://github.com/ElemeFE/element"> |
| 11 | + <img src="https://img.shields.io/badge/elemnet--ui-2.4.5-brightgreen.svg"> |
| 12 | + </a> |
| 13 | + <a href="https://github.com/prettier/prettier"> |
| 14 | + <img src="https://img.shields.io/badge/code style-prettier-brightgreen.svg"> |
| 15 | + </a> |
| 16 | + <a href="https://github.com/webpack/webpack"> |
| 17 | + <img src="https://img.shields.io/badge/webpack->=4.0.0-brightgreen.svg"> |
| 18 | + </a> |
| 19 | + <a href="https://github.com/easy-mock/easy-mock"> |
| 20 | + <img src="https://img.shields.io/badge/data-easyMock-brightgreen.svg"> |
| 21 | + </a> |
| 22 | +</p> |
| 23 | + |
| 24 | +## 简介 |
| 25 | + |
| 26 | +[vue-admin-webapp](https://gcddblue.github.io/vue-admin-webapp) 是一个后台管理 spa 页面,它基于 [vue](https://github.com/vuejs/vue) 和 [element-ui](https://github.com/ElemeFE/element) 采用了最新的前端技术栈,实现了登录权限验证,动态路由生成,并使用 [easy-mock](https://github.com/easy-mock/easy-mock) 来模拟请求数据,实现了典型的业务模型案例,它可以帮你快速搭建后台管理系统模板,并根据实际的业务需求添加路由来实现企业级管理页面,相信本项目一定能帮助到你。 |
| 27 | + |
| 28 | +- [在线预览-github](https://gcddblue.github.io/vue-admin-webapp) |
| 29 | +- [在线预览-gitee](https://gcddblue.gitee.io/vue-admin-webapp) (推荐国内用户) |
| 30 | + |
| 31 | +## 快速开始 |
| 32 | + |
| 33 | +> 在开始之前,请确保在本地安装 node 和 webpack 及 git。 本项目技术找主要有 [ES6](http://es6.ruanyifeng.com/) 、[vue](https://cn.vuejs.org/) 、[vuex](https://vuex.vuejs.org/zh/) 、[vue-router](https://router.vuejs.org/zh/) 、[vue-cli](https://cli.vuejs.org/zh/guide/) 、[axios](http://www.axios-js.com/) 、[webpack](https://www.webpackjs.com/) 、[element-ui](https://element.eleme.io/#/zh-CN) 、[easyMock](https://www.easy-mock.com/) ,所以你最好提前熟悉了解这些知识,这将对你认识学习该项目有很大帮助 |
| 34 | + |
| 35 | +### 安装 |
2 | 36 |
|
3 | | -## Project setup |
4 | 37 | ```
|
| 38 | +# 克隆项目 |
| 39 | +git clone git@github.com:gcddblue/vue-admin-webapp.git |
| 40 | + |
| 41 | +# 进入项目目录 |
| 42 | +cd vue-admin-webapp |
| 43 | + |
| 44 | +# 安装依赖 |
5 | 45 | npm install
|
6 | | -``` |
7 | 46 |
|
8 | | -### Compiles and hot-reloads for development |
9 | | -``` |
| 47 | +# 启动服务 |
10 | 48 | npm run serve
|
11 | 49 | ```
|
12 | 50 |
|
13 | | -### Compiles and minifies for production |
14 | | -``` |
15 | | -npm run build |
16 | | -``` |
| 51 | +### 部署 |
17 | 52 |
|
18 | | -### Run your tests |
19 | | -``` |
20 | | -npm run test |
21 | | -``` |
| 53 | +`deploy`分支执行 deploy.sh 文件脚本执行 npm run build 并上传至 gh-pages 分支更新 github pages 页面 |
| 54 | + |
| 55 | +### 功能 |
22 | 56 |
|
23 | | -### Lints and fixes files |
24 | 57 | ```
|
25 | | -npm run lint |
| 58 | +- 登录 / 注销 |
| 59 | + - 登录仿GeeTest-极验安全策略 |
| 60 | +- 页面 |
| 61 | + - 初次进入引导用户 |
| 62 | + - sideBar收缩和展开 |
| 63 | + - 全屏控制 |
| 64 | +- 侧边栏 |
| 65 | + - 根据不同用户权限展示相应的动态左侧菜单 |
| 66 | +- 权限验证 |
| 67 | + - 管理员页面 |
| 68 | + - 权限设置 |
| 69 | +- 表格操作 |
| 70 | + - 涉及平常业务遇到的相关表格操作(参考) |
26 | 71 | ```
|
27 | 72 |
|
28 | | -### Customize configuration |
29 | | -See [Configuration Reference](https://cli.vuejs.org/config/). |
| 73 | +### Online |
| 74 | + |
| 75 | +[在线浏览](https://gcddblue.gitee.io/vue-admin-webapp) |
0 commit comments