Coder Social home page Coder Social logo

neveryu / vue-cms Goto Github PK

View Code? Open in Web Editor NEW
614.0 22.0 230.0 16.81 MB

基于 Vue 和 ElementUI 构建的一个企业级后台管理系统

Home Page: https://git.io/fp9UM

License: MIT License

HTML 4.43% Vue 7.55% Shell 4.11% TypeScript 83.92%
vue vue-cms element-ui axios vuex vuejs element mock webpack cms

vue-cms's Introduction

基于 Vue3.x 和 antd design vue 3.x 构建的企业级后台管理项目

vue element-ui Build Status license donate

预览

在线体验:https://git.io/fp9UM

简介

本分支是基于[vue3.x + antd design vue 3.x]为核心构建的企业级后台管理项目.

vue-cms 是一个企业级管理后台项目,基于 VueElementUI 构建。它使用了最新的前端技术栈,内置了 i18n 国际化解决方案,支持多语言,路由嵌套,动态路由,权限验证等很多功能特性。

同时,它也提供了首页的数据图表展示,个人中心,主题换肤,表单表格,数据统计等常用的页面模块; 而且拥有完美的 axiosapi,数据存储解决方案以及辅助函数的封装,开箱即用,可以帮助你快速搭建企业后台管理系统。

与此同时,它也是一个很好的学习项目,包含了一些常见问题的解决方案,比如:数据可视化,导入导出功能,自定义组件,自定义指令,富文本;也包含了技术上的一些尝试,比如:基于 element-ui 的二次封装,Decorator 的使用...

写在前面

请确保你安装了 nodegit,与此同时,你应该对 VueVuexVue RouterES2015+ElementUI 有所了解。我们的请求有使用 Mock.js 模拟,也有使用线上真实的接口数据,提前了解和学习这些知识会对使用本项目有很大的帮助。

Build Setup

# 克隆项目
git clone https://github.com/Neveryu/vue-cms.git

# 进入项目
cd vue-cms

# install dependencies
yarn install --registry https://registry.npm.taobao.org

// or
# 建议不要用 cnpm 安装 会有各种诡异的bug 可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# serve with hot reload at localhost:8080
npm start

浏览器访问 http://localhost:8080

构建,发布

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

功能

- 登录/注销
- 权限验证
- 多环境发布
- 动态侧边栏(支持多级路由)
- better-scroll
- 国际化多语言
- Screenfull全屏
- 列表拖拽
- Svg Sprite 图标
- Dashboard
- 本地mock数据
- Echarts图表
- 导出excel
- 导出zip
- 前端可视化excel
- CountTo
- 自定义组件
- 换肤
- 富文本

快照|snapshot

// todo

Online demo

在线 Demo 演示

Donate

如果你觉得这个项目帮助到了你,你可以帮作者买一杯果汁表示鼓励 🍹

donate

Browsers support

Modern browsers and Internet Explorer 11+.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions

License

MIT

Copyright (c) 2017-present, NeverYu

vue-cms's People

Contributors

dependabot[bot] avatar neveryu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-cms's Issues

是否没有做密码错误的反馈?

我读了代码,由于不太了解es6的语法所以进度很慢,
在登录流程里面我没有发现对点击登录按钮之后,识别返回结果的处理,如果登录出现错误就会一直转圈,我担心自己没有读完整您的登录处理,所以希望能回复我是否有对这部分的处理

按照项目中的操作指引无法正常运行。

按Readme 中的运行指南:

# 克隆项目
git clone https://github.com/Neveryu/vue-cms.git

# 进入项目
cd vue-cms

# install dependencies
yarn install --registry https://registry.npm.taobao.org

// or
# 建议不要用 cnpm 安装 会有各种诡异的bug 可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# serve with hot reload at localhost:8080
npm start

无法正常运行

使用node 版本为12.2.0

尝试解决方案:

  1. node 版本不对=>切换node 版本到12.2.0, yarn 命令可以正常运行
  2. npm start 启动报错没有该命令 => 尝试使用npm run serve,console log 提示localhost:3000 已监听,但是不是管理界面
  3. 尝试运行npm run build, 结果报错

页面销毁

使用了keep-alive的话,你tabview中关闭了,但其实还是在页面中缓存了,是否考虑用include,和exclude来对缓存处理

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.