@@ -10,14 +10,18 @@ The scheme as a set of multi-function background frame templates, suitable for m
10
10
## Function ##
11
11
- [x] Element-UI
12
12
- [x] Login/Logout
13
+ - [x] Dashboard
13
14
- [x] Table
15
+ - [x] Tabs
14
16
- [x] From
15
17
- [x] Chart :bar_chart :
16
18
- [x] Editor
17
19
- [x] Markdown
18
20
- [x] Upload pictures by clipping or dragging
19
21
- [x] Support manual switch themes :sparkles :
20
22
- [x] List drag sort
23
+ - [x] Permission
24
+ - [x] 404 / 403
21
25
22
26
23
27
## Directory structure ##
@@ -31,18 +35,20 @@ The scheme as a set of multi-function background frame templates, suitable for m
31
35
| |-- Header.vue // Header component
32
36
| |-- Home.vue // Home component
33
37
| |-- Sidebar.vue // Sidebar component
34
- | |-- page // Router page
38
+ | |-- Tags.vue
39
+ | |-- page // Router page
40
+ | |-- 403.vue
41
+ | |-- 404.vue
35
42
| |-- BaseCharts.vue // BaseCharts
36
43
| |-- BaseForm.vue // BaseForm
37
44
| |-- BaseTable.vue // BaseTable
38
45
| |-- Login.vue // Login
46
+ | |-- Dashboard.vue
39
47
| |-- DragList.vue
40
48
| |-- Markdown.vue // Markdown
41
49
| |-- Premission.vue
42
- | |-- Readme.vue // Readme
43
50
| |-- Upload.vue // Upload
44
51
| |-- VueEditor.vue // VueEditor
45
- | |-- VueTable.vue // VueTable
46
52
| |-- App.vue // Main component
47
53
| |-- main.js // Entry file
48
54
|-- .babelrc // ES6 syntax compiler configuration
@@ -117,9 +123,6 @@ Vue.js wrapper for sChart.js. Github : [vue-schart](https://github.com/linxin/vu
117
123
### element-ui ###
118
124
A desktop component library based on vue.js2.0 . Github : [ element] ( http://element.eleme.io/#/zh-CN/component/layout )
119
125
120
- ### vue-datasource ###
121
- A Vue.js server side component to create dynamic tables. Github : [ vue-datasource] ( https://github.com/coderdiaz/vue-datasource )
122
-
123
126
### Vue-Quill-Editor ###
124
127
Quill editor component for Vue2. Github : [ vue-quill-editor] ( https://github.com/surmon-china/vue-quill-editor )
125
128
@@ -133,28 +136,31 @@ A Vue wrapper component for cropperjs. Github: [vue-cropperjs](https://github.co
133
136
## Notice ##
134
137
### 一、If I don't want to use some components, how can I delete it? ###
135
138
136
- For example, I don't want to use the vue-datasource component, I need to take four steps.
139
+ For example, I don't want to use the Vue-Quill-Editor component, I need to take four steps.
137
140
138
141
The first step to remove the component of the routing. Enter 'src/router/index.js' and delete the code below.
139
142
140
143
``` JavaScript
141
144
{
142
- path: ' /vuetable ' ,
143
- component : resolve => require ([' ../components/page/VueTable .vue' ], resolve)
145
+ path: ' /editor ' ,
146
+ component : resolve => require ([' ../components/page/VueEditor .vue' ], resolve)
144
147
},
145
148
```
146
149
147
- Second,delete the component files. Enter 'src/components/page/' and delete 'VueTable .vue' file.
150
+ Second,delete the component files. Enter 'src/components/page/' and delete 'VueEditor .vue' file.
148
151
149
152
The third step is to delete the entry. Enter 'src/components/common/Sidebar.vue' and delete the code below.
150
153
151
- ``` HTML
152
- <el-menu-item index =" vuetable" >Vue表格组件</el-menu-item >
154
+ ``` js
155
+ {
156
+ index: ' editor' ,
157
+ title: ' 富文本编辑器'
158
+ },
153
159
```
154
160
155
161
Finally, uninstall this component.
156
162
157
- npm un vue-datasource -S
163
+ npm un vue-quill-editor -S
158
164
159
165
Complete!
160
166
0 commit comments