The web management system solution based on Vue2 and Element-UI。live demo
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 Vue2 and Element-UI. Color separation of color style, support manual switch themes, and it is convenient to use a custom theme color.
- Element-UI
- Login/Logout
- Dashboard
- Table
- Tabs
- From
- Chart 📊
- Editor
- Markdown
- Upload pictures by clipping or dragging
- Support manual switch themes ✨
- List drag sort
- Permission
- 404 / 403
- Three level menu
- Custom icon
git clone https://github.com/lin-xin/vue-manage-system.git // Clone templates
cd vue-manage-system // Enter template directory
npm install // Installation dependency
// Open server and access http://localhost:8080 in browser
npm run serve
// Constructing project
npm run build
Vue.js wrapper for sChart.js. Github : vue-schart
<template>
<div>
<schart class="wrapper" canvasId="myCanvas" :options="options"></schart>
</div>
</template>
<script>
import Schart from 'vue-schart'; // 导入Schart组件
export default {
data() {
return {
options: {
type: 'bar',
title: {
text: '最近一周各品类销售图'
},
labels: ['周一', '周二', '周三', '周四', '周五'],
datasets: [
{
label: '家电',
data: [234, 278, 270, 190, 230]
},
{
label: '百货',
data: [164, 178, 190, 135, 160]
},
{
label: '食品',
data: [144, 198, 150, 235, 120]
}
]
}
};
},
components: {
Schart
}
};
</script>
<style>
.wrapper {
width: 7rem;
height: 5rem;
}
</style>
A desktop component library based on vue.js2.0 . Github : element
Quill editor component for Vue2. Github : vue-quill-editor
A markdown editor based on Vue that supports a variety of personalized features. Github: mavonEditor
A Vue wrapper component for cropperjs. Github: vue-cropperjs
For example, I don't want to use the Vue-Quill-Editor component, I need to take four steps.
The first step to remove the component of the routing. Enter 'src/router/index.js' and delete the code below.
{
path: '/editor',
component: resolve => require(['../components/page/VueEditor.vue'], resolve)
},
Second,delete the component files. Enter 'src/components/page/' and delete 'VueEditor.vue' file.
The third step is to delete the entry. Enter 'src/components/common/Sidebar.vue' and delete the code below.
{
index: 'editor',
title: '富文本编辑器'
},
Finally, uninstall this component. npm un vue-quill-editor -S
Complete!
The first step to enter 'src/main.js' and change into green theme.
import 'element-ui/lib/theme-default/index.css'; // default theme
// import '../static/css/theme-green/index.css'; // green theme
The second step to enter 'src/App.vue' and change into green theme.
@import "../static/css/main.css";
@import "../static/css/color-dark.css"; /*深色主题*/
/*@import "../static/css/theme-green/color-green.css"; !*浅绿色主题*!*/
Finally,enter 'src/components/common/Sidebar.vue' and find el-menu Tags,delete 'background-color/text-color/active-text-color'。