vue3-element-admin/README_EN.md

137 lines
4.1 KiB
Markdown
Raw Normal View History

2019-11-01 08:58:19 +00:00
# vue-manage-system
<a href="https://github.com/vuejs/vue">
<img src="https://img.shields.io/badge/vue-2.6.10-brightgreen.svg" alt="vue">
</a>
<a href="https://github.com/ElemeFE/element">
<img src="https://img.shields.io/badge/element--ui-2.8.2-brightgreen.svg" alt="element-ui">
</a>
<a href="https://github.com/lin-xin/vue-manage-system/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/mashape/apistatus.svg" alt="license">
</a>
<a href="https://github.com/lin-xin/vue-manage-system/releases">
<img src="https://img.shields.io/github/release/lin-xin/vue-manage-system.svg" alt="GitHub release">
</a>
<a href="https://lin-xin.gitee.io/example/work/#/donate">
<img src="https://img.shields.io/badge/%24-donate-ff69b4.svg" alt="donate">
</a>
2021-03-15 15:13:23 +00:00
The web management system solution based on Vue3 and ElementPlus。[live demo](https://lin-xin.gitee.io/example/work/)
2021-03-17 14:19:34 +00:00
2021-03-15 15:13:23 +00:00
Please check the version of vue2 in [tag V4.2.0](https://github.com/lin-xin/vue-manage-system/tree/V4.2.0)
2017-09-13 12:47:38 +00:00
2018-04-13 00:58:41 +00:00
## Donation
2017-09-13 12:47:38 +00:00
2019-11-01 08:58:19 +00:00
![WeChat](https://lin-xin.gitee.io/images/weixin.jpg)
## Preface
2021-03-15 15:13:23 +00:00
The scheme as a set of multi-function background frame templates, suitable for most of the WEB management system development. Convenient development fast simple good components based on Vue3 and ElementPlus. Color separation of color style, support manual switch themes, and it is convenient to use a custom theme color.
2017-09-13 12:47:38 +00:00
2019-11-01 08:58:19 +00:00
## Function
2017-09-13 12:47:38 +00:00
2019-11-01 08:58:19 +00:00
- [x] Element-UI
- [x] Login/Logout
- [x] Dashboard
- [x] Table
- [x] Tabs
- [x] From
- [x] Chart :bar_chart:
2021-03-15 15:13:23 +00:00
- [ ] Editor
- [ ] Markdown
2019-11-01 08:58:19 +00:00
- [x] Upload pictures by clipping or dragging
2021-03-15 15:13:23 +00:00
- [ ] Support manual switch themes :sparkles:
- [ ] List drag sort
2019-11-01 08:58:19 +00:00
- [x] Permission
- [x] 404 / 403
- [x] Three level menu
- [x] Custom icon
2017-09-13 12:47:38 +00:00
2019-11-01 08:58:19 +00:00
## Installation steps
2017-09-13 12:47:38 +00:00
2019-11-01 08:58:19 +00:00
git clone https://github.com/lin-xin/vue-manage-system.git // Clone templates
cd vue-manage-system // Enter template directory
npm install // Installation dependency
2017-09-13 12:47:38 +00:00
2019-11-01 08:58:19 +00:00
## Local development
2017-09-13 12:47:38 +00:00
2019-11-01 08:58:19 +00:00
// Open server and access http://localhost:8080 in browser
npm run serve
2017-09-13 12:47:38 +00:00
2019-11-01 08:58:19 +00:00
## Constructing production
2017-09-13 12:47:38 +00:00
2019-11-01 08:58:19 +00:00
// Constructing project
npm run build
2017-09-13 12:47:38 +00:00
2019-11-01 08:58:19 +00:00
## Component description and presentation
### vue-schart
2017-09-13 12:47:38 +00:00
Vue.js wrapper for sChart.js. Github : [vue-schart](https://github.com/linxin/vue-schart)
2019-11-01 08:58:19 +00:00
```html
2017-09-13 12:47:38 +00:00
<template>
<div>
2019-11-01 08:58:19 +00:00
<schart class="wrapper" canvasId="myCanvas" :options="options"></schart>
2017-09-13 12:47:38 +00:00
</div>
</template>
2019-11-01 08:58:19 +00:00
2017-09-13 12:47:38 +00:00
<script>
2021-03-15 15:13:23 +00:00
import Schart from "vue-schart"; // 导入Schart组件
2017-09-13 12:47:38 +00:00
export default {
2019-11-01 08:58:19 +00:00
data() {
2017-09-13 12:47:38 +00:00
return {
options: {
2021-03-15 15:13:23 +00:00
type: "bar",
2019-11-01 08:58:19 +00:00
title: {
2021-03-15 15:13:23 +00:00
text: "最近一周各品类销售图",
2019-11-01 08:58:19 +00:00
},
2021-03-15 15:13:23 +00:00
labels: ["周一", "周二", "周三", "周四", "周五"],
2019-11-01 08:58:19 +00:00
datasets: [
{
2021-03-15 15:13:23 +00:00
label: "家电",
data: [234, 278, 270, 190, 230],
2019-11-01 08:58:19 +00:00
},
{
2021-03-15 15:13:23 +00:00
label: "百货",
data: [164, 178, 190, 135, 160],
2019-11-01 08:58:19 +00:00
},
{
2021-03-15 15:13:23 +00:00
label: "食品",
data: [144, 198, 150, 235, 120],
},
],
},
2019-11-01 08:58:19 +00:00
};
2017-09-13 12:47:38 +00:00
},
components: {
2021-03-15 15:13:23 +00:00
Schart,
},
2019-11-01 08:58:19 +00:00
};
2017-09-13 12:47:38 +00:00
</script>
2019-11-01 08:58:19 +00:00
<style>
.wrapper {
width: 7rem;
height: 5rem;
}
</style>
2017-09-13 12:47:38 +00:00
```
2019-11-01 08:58:19 +00:00
### element-ui
2018-04-13 00:58:41 +00:00
A desktop component library based on vue.js2.0 . Github : [element](http://element.eleme.io/#/zh-CN/component/layout)
2019-11-01 08:58:19 +00:00
## Screenshot
### Default theme
2017-09-13 12:47:38 +00:00
![Image text](https://github.com/lin-xin/manage-system/raw/master/screenshots/wms1.png)
2021-03-15 15:13:23 +00:00
### Login
2017-09-13 12:47:38 +00:00
2021-03-15 15:13:23 +00:00
![Image text](https://github.com/lin-xin/manage-system/raw/master/screenshots/wms3.png)
2019-04-28 06:33:18 +00:00
## License
2019-11-01 08:58:19 +00:00
[MIT](https://github.com/lin-xin/vue-manage-system/blob/master/LICENSE)