-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1、修改REAMDE.md 2、优化一些代码 3、正在完成权限验证功能
- Loading branch information
Showing
11 changed files
with
112 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,117 +1,91 @@ | ||
# vue2-blog | ||
|
||
![image](https://img.shields.io/badge/vue-2.5.9-blue.svg) | ||
![image](https://img.shields.io/badge/vue-2.5.13-blue.svg) | ||
![image](https://img.shields.io/badge/vue--router-3.0.1-blue.svg) | ||
![image](https://img.shields.io/badge/vuex-3.0.1-blue.svg) | ||
![image](https://img.shields.io/badge/element--ui-2.0.7-blue.svg) | ||
![image](https://img.shields.io/badge/element--ui-2.0.11-blue.svg) | ||
|
||
#### 还在开发,敬请期待! (已完成90%) | ||
> 你的 "star" 是我最大的动力!🌹 | ||
|
||
## 前言 | ||
|
||
该项目是基于 vue全家桶 + element-ui组件库,构建的一个后台类应用模板,也是一个后台应用实例。目的是为了帮助开发人员快速的搭建基于 vue-cli 开发的后台应用和vue学习者参考学习。 | ||
|
||
|
||
## 说明 | ||
> 如果对您有帮助,您可以点右上角 "star"一下!非常感谢!^_^ 🌹 | ||
> 或者您可以 "follow(关注)" 作者,我会不断开源更多实用的项目。 | ||
> 如有问题可以直接在 Issues 中提,或者加入我们下方的vue群更进一步地交流。 | ||
|
||
## 其他开源项目 | ||
- 第一阶段:echo回声(移动端,难度:简单 ~ 中等) —— [仓库地址](https://github.com/uncleLian/vue2-echo) —— [演示地址](http://echo.liansixin.win) | ||
|
||
- 第二阶段:今日头条(移动端 & native,难度:困难) —— [仓库地址](https://github.com/uncleLian/vue2-news) —— [web演示地址](http://toutiao.liansixin.win), [native端演示地址](http://native.liansixin.win) | ||
|
||
- 第三阶段:头条号(pc端,难度:中等 ~ 困难) —— [仓库地址](https://github.com/uncleLian/vue2-health) —— [演示地址](http://health.liansixin.win) (还在开发,敬请期待!已实现核心功能) | ||
## 简介 | ||
|
||
vue2-blog 是一个后台集成解决方案,它基于 [vue.js](https://github.com/vuejs/vue) 和 [element-ui](https://github.com/ElemeFE/element)。使用了最新的前端技术栈。内置登录、动态路由、I18n国际化等功能特性。目的是为了帮助开发人员快速搭建后台应用和vue学习者参考学习。 | ||
|
||
## 项目演示 | ||
#### [演示地址](http://blog.liansixin.win) | ||
|
||
|
||
## 基本功能 | ||
##### 1、element ui 组件库(完成) | ||
##### 2、登录登出(完成) | ||
##### 3、根据路由表递归生成侧边栏(可配置图标、登录、展开子菜单等)(完成) | ||
##### 4、根据当前路由生成面包屑(完成) | ||
##### 5、统一的API请求、拦截以及错误处理(完成) | ||
##### 6、自动匹配开发环境和生产环境的请求链接(完成) | ||
##### 7、没有相匹配的路由将跳转至404页面(完成) | ||
##### 8、全局捕捉错误信息(完成) | ||
##### 9、面包屑、图钉、返回顶部(完成) | ||
|
||
## 自定义组件 | ||
##### 1、面包屑:breadcrumb.vue(完成) | ||
##### 2、图钉:sticky.vue(完成) | ||
##### 3、返回顶部:backTop.vue(完成) | ||
##### 4、动态数值:countTo.vue(完成) | ||
##### 5、加载提示:loading.vue(完成) | ||
|
||
## 集成功能 | ||
##### 1、进度条(完成) | ||
##### 2、剪贴板(完成) | ||
##### 3、导入导出 excel 文件(完成) | ||
##### 4、图表echarts(完成) | ||
##### 5、富文本编辑器(完成) | ||
##### 6、Markdown(完成) | ||
##### 7、国际化(完成) | ||
##### 8、换肤(完成) | ||
##### 9、第三方登录 | ||
|
||
## 综合实例 | ||
##### 1、拖拽列表(完成) | ||
##### 2、拖拽表格(完成) | ||
##### 3、自定义图片上传、草稿、预览等(完成) | ||
|
||
## 更多 | ||
##### 1、404 页面(完成) | ||
##### 2、错误日志(完成) | ||
|
||
## 第三方依赖 | ||
##### 1、[element-ui](https://github.com/ElemeFE/element)(UI组件库) | ||
##### 2、[axios](https://github.com/axios/axios)(请求库) | ||
##### 3、[vue-progressbar](https://github.com/hilongjw/vue-progressbar)(进度条) | ||
##### 4、[vue-quill-editor](https://github.com/surmon-china/vue-quill-editor)(富文本编辑器) | ||
##### 5、[vuedraggable](https://github.com/SortableJS/Vue.Draggable)(基于sortablejs的vue的拖拽库) | ||
##### 6、[sortablejs](https://github.com/RubaXa/Sortable)(拖拽库) | ||
##### 7、[vue-clipboard-pack](https://github.com/uncleLian/vue-clipboard-pack)(本人基于clipboard.js封装的剪贴板) | ||
##### 8、[mockjs](https://github.com/nuysoft/Mock/tree/refactoring)(数据模拟) | ||
##### 9、[font-awesome](http://fontawesome.io/icons/)(字体库) | ||
##### 10、babel-polyfill(JS语法库,修复IE不支持语法问题) | ||
##### 11、[js-cookie](https://github.com/js-cookie/js-cookie)(方便处理cookie的JS库) | ||
##### 12、[stylus](https://github.com/stylus/stylus) stylus-loader(css预处理器) | ||
##### 13、less less-loader(css预处理器) | ||
##### 14、[js-xlsx](https://github.com/SheetJS/js-xlsx)(电子表格处理库) | ||
##### 15、[simplemde](https://github.com/sparksuite/simplemde-markdown-editor)(Markdown编辑器) | ||
##### 16、[showdown](https://github.com/showdownjs/showdown)(Markdown转换成HTML的库) | ||
##### 17、[vue-i18n](https://github.com/showdownjs/showdown)(实现多语言的库) | ||
## 功能 | ||
- [x] 登录/注销 | ||
- [x] 多环境发布 | ||
- [x] 前端mock数据 | ||
- [x] 动态侧边栏(支持多级路由和一键配置图标、登录、展开、缓存等选项) | ||
- [x] 动态面包屑 | ||
- [x] 动态换肤(实现element-ui官网的换肤功能) | ||
- [x] 国际化多语言(中文、English) | ||
- [x] 进度条 | ||
- [x] [剪贴板](https://github.com/uncleLian/vue-clipboard-pack)(另一个项目,打个广告~) | ||
- [x] 富文本编辑器(自定义图片上传、草稿、预览等) | ||
- [x] Markdown编辑器(搭配Markdown语法转HTML功能) | ||
- [x] 导入.md文件 | ||
- [x] 导入导出Excel | ||
- [x] Echarts 图表 | ||
- [x] 拖拽列表、表格 | ||
- [x] 404页面 | ||
- [x] 错误日志(全局错误捕捉) | ||
- [x] Iconfont图标 | ||
- [x] 图钉 | ||
- [x] 返回顶部 | ||
- [x] 动态数值 | ||
- [x] 加载提示(3种状态:加载中,无数据,出现错误且支持点击重新请求) | ||
|
||
##### 待更新 | ||
- [ ] 权限验证 | ||
- [ ] 文档 | ||
|
||
## 部分截图 | ||
<img src="https://github.com/uncleLian/vue2-blog/raw/master/screenshots/login.jpg" width="900px" style="max-width: 100%;"/> | ||
<img src="https://github.com/uncleLian/vue2-blog/raw/master/screenshots/home.jpg" width="900px" style="max-width: 100%;"/> | ||
|
||
## 安装运行 | ||
|
||
``` | ||
# install dependencies | ||
npm install | ||
# serve with hot reload at localhost:8084 or localhost:8020 | ||
# serve with hot reload at localhost:8020 | ||
npm run dev | ||
# build for production with minification | ||
npm run build | ||
npm run build(File in the docs folder) | ||
``` | ||
|
||
## 交流 | ||
## 更新日志 | ||
[发行说明](https://github.com/uncleLian/vue2-blog/releases)中记录了每个版本的详细更改。 | ||
|
||
## 传送门 | ||
- 第一阶段:echo回声(移动端,难度:简单,入门项目) —— [仓库地址](https://github.com/uncleLian/vue2-echo) —— [演示地址](http://echo.liansixin.win) | ||
|
||
- 第二阶段:今日头条(移动端 & native,难度:困难,进阶项目) —— [仓库地址](https://github.com/uncleLian/vue2-news) —— [web演示地址](http://toutiao.liansixin.win), [native端演示地址](http://native.liansixin.win) | ||
|
||
- 第三阶段:头条号(pc端,难度:中等,过渡项目) —— [仓库地址](https://github.com/uncleLian/vue2-health) —— [演示地址](http://health.liansixin.win) (还在开发,敬请期待!已实现核心功能) | ||
|
||
|
||
## 说明 | ||
> 如果对您有帮助,你可以点右上角 "star"支持一下🌹 | ||
> 或者您可以 "follow(关注)" 作者,我正在不断开源更多实用的项目。 | ||
> 如有问题可以直接在 Issues 中提,或者加入我们下方的vue群更进一步地交流。 | ||
|
||
## 交流 | ||
欢迎热爱学习、忠于分享的朋友一起来交流 | ||
- QQ:771674109 | ||
- Vue交流群:338241465 —— 广州-小鑫 | ||
|
||
## License | ||
|
||
## 捐赠 | ||
<img src="https://github.com/uncleLian/vue2-blog/raw/master/screenshots/donate.jpg" width="500px" style="max-width: 100%;"/> | ||
|
||
## License | ||
[MIT](http://opensource.org/licenses/MIT) | ||
|
||
Copyright (c) 2017-present,uncleLian |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters