-
Notifications
You must be signed in to change notification settings - Fork 0
/
vusion.config.js
111 lines (111 loc) · 8.59 KB
/
vusion.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
module.exports = {
version: '>=0.7.7',
type: 'library',
name: 'vusion-ui',
CamelName: 'VusionUI',
lint: true,
uglifyJS: true,
extractCSS: true,
sourceMap: true,
webpackDevServer: {
historyApiFallback: {
index: '/vusion-ui/',
},
},
docs: {
title: 'Vusion UI 组件库',
logo: '组件库',
mode: 'history',
base: '/vusion-ui/',
install: 'option-name',
navbar: [
{ text: '指南', to: '/guide' },
{ text: '组件', to: '/components' },
{ text: '演示', to: '/demo' },
],
components: [
{ group: 'Basic', name: 'base', alias: '基础', path: 'proto-ui.vusion/src/base/README.md' },
{ group: 'Basic', name: 'scheme', alias: '设计规范', path: 'library/base/SCHEME.md' },
{ group: 'Basic', name: 'typography', alias: '排印', path: 'proto-ui.vusion/src/base/TYPOGRAPHY.md' },
{ group: 'Basic', name: 'u-text', alias: '文本' },
{ group: 'Basic', name: 'u-link', alias: '链接' },
{ group: 'Basic', name: 'u-button', alias: '按钮' },
{ group: 'Basic', name: 'u-badge', alias: '徽章' },
{ group: 'Basic', name: 'u-label', alias: '标签', path: 'cloud-ui.vusion/src/u-label.vue/README.md' },
{ group: 'Basic', name: 'u-tags', alias: '标签组', path: 'cloud-ui.vusion/src/u-tag.vue/README.md' },
{ group: 'Basic', name: 'u-icon', alias: '图标', path: 'i-line-awesome.vue/README.md' },
{ group: 'Basic', name: 'u-status-icon', alias: '状态图标' },
{ group: 'Basic', name: 'u-logo', alias: '标识' },
{ group: 'Layout', name: 'u-linear-layout', alias: '线性布局' },
{ group: 'Layout', name: 'u-grid-layout', alias: '栅格布局' },
{ group: 'Layout', name: 'u-desc-list', alias: '描述列表', path: 'cloud-ui.vusion/src/u-desc-list.vue/README.md' },
{ group: 'Layout', name: 'u-info-list', alias: '详情列表', path: 'cloud-ui.vusion/src/u-info-list.vue/README.md' },
{ group: 'Layout', name: 'u-table', alias: '表格' },
{ group: 'Navigation', name: 'u-navbar', alias: '导航栏' },
{ group: 'Navigation', name: 'u-sidebar', alias: '侧边栏' },
{ group: 'Navigation', name: 'u-menu', alias: '菜单' },
{ group: 'Navigation', name: 'u-subnav', alias: '子导航', path: 'cloud-ui.vusion/src/u-subnav.vue/README.md' },
{ group: 'Navigation', name: 'u-tabs', alias: '标签页' },
{ group: 'Navigation', name: 'u-subtabs', alias: '子标签页', path: 'cloud-ui.vusion/src/u-subtabs.vue/README.md' },
{ group: 'Navigation', name: 'u-steps', alias: '步骤条', path: 'proto-ui.vusion/src/u-steps.vue/README.md' },
{ group: 'Navigation', name: 'u-crumb', alias: '面包屑' },
{ group: 'Navigation', name: 'u-pagination', alias: '翻页器' },
{ group: 'Navigation', name: 'u-actions', alias: '操作列表' },
{ group: 'Form', name: 'u-form', alias: '表单', path: 'cloud-ui.vusion/src/u-form.vue/README.md' },
{ group: 'Form', name: 'u-input', alias: '单行输入', path: 'cloud-ui.vusion/src/u-input.vue/README.md' },
{ group: 'Form', name: 'u-number-input', alias: '数字输入' },
{ group: 'Form', name: 'u-textarea', alias: '多行输入', path: 'cloud-ui.vusion/src/u-textarea.vue/README.md' },
{ group: 'Form', name: 'u-radios', alias: '单选组' },
{ group: 'Form', name: 'u-checkboxes', alias: '多选组' },
{ group: 'Form', name: 'u-switch', alias: '开关', path: 'cloud-ui.vusion/src/u-switch.vue/README.md' },
{ group: 'Form', name: 'u-select', alias: '选择框', path: 'cloud-ui.vusion/src/u-select.vue/README.md' },
{ group: 'Form', name: 'u-cascade-select', alias: '级联选择' },
{ group: 'Form', name: 'u-region-select', alias: '地区选择' },
{ group: 'Form', name: 'u-multi-select', alias: '多项选择', path: 'cloud-ui.vusion/src/u-multi-select.vue/README.md' },
{ group: 'Form', name: 'u-color-select', alias: '颜色选择', path: 'cloud-ui.vusion/src/u-color-select.vue/README.md' },
{ group: 'Form', name: 'u-suggest', alias: '自动提示', path: 'cloud-ui.vusion/src/u-suggest.vue/README.md' },
{ group: 'Form', name: 'u-slider', alias: '滑块' },
{ group: 'Form', name: 'u-combo-slider', alias: '复合滑块', path: 'cloud-ui.vusion/src/u-combo-slider.vue/README.md' },
{ group: 'Form', name: 'u-uploader', alias: '文件上传' },
{ group: 'Data', name: 'u-list-view', alias: '列表选择' },
{ group: 'Data', name: 'u-tree-view', alias: '树型选择' },
{ group: 'Data', name: 'u-table-view', alias: '表格视图', path: 'cloud-ui.vusion/src/u-table-view.vue/README.md' },
{ group: 'Data', name: 'u-table-view-2', alias: '表格视图2' },
{ group: 'Data', name: 'u-capsules', alias: '胶囊', path: 'cloud-ui.vusion/src/u-capsules.vue/README.md' },
{ group: 'Data', name: 'u-cascade-capsules', alias: '级联胶囊', path: 'cloud-ui.vusion/src/u-cascade-capsules.vue/README.md' },
{ group: 'Data', name: 'u-pills', alias: '药丸', path: 'cloud-ui.vusion/src/u-pills.vue/README.md' },
{ group: 'Data', name: 'u-tablets', alias: '药片', path: 'cloud-ui.vusion/src/u-tablets.vue/README.md' },
{ group: 'Data', name: 'u-transfer', alias: '穿梭框' },
{ group: 'Data', name: 'u-countup', alias: '数字渐变' },
{ group: 'DateTime', name: 'u-calendar', alias: '日历', path: 'cloud-ui.vusion/src/u-calendar.vue/README.md' },
{ group: 'DateTime', name: 'u-time-picker', alias: '日期选择', path: 'cloud-ui.vusion/src/u-time-picker.vue/README.md' },
{ group: 'DateTime', name: 'u-date-picker', alias: '时间选择', path: 'cloud-ui.vusion/src/u-date-picker.vue/README.md' },
{ group: 'DateTime', name: 'u-date-time-picker', alias: '时期时间选择', path: 'cloud-ui.vusion/src/u-date-time-picker.vue/README.md' },
{ group: 'Popper', name: 'u-popper', alias: '弹出层' },
{ group: 'Popper', name: 'u-popup', alias: '弹出框' },
{ group: 'Popper', name: 'u-tooltip', alias: '工具提示' },
{ group: 'Feedback', name: 'u-spinner', alias: '加载图标' },
{ group: 'Feedback', name: 'u-loading', alias: '加载中' },
{ group: 'Feedback', name: 'u-placeholder', alias: '占位图' },
{ group: 'Feedback', name: 'u-toast', alias: '吐司提示' },
{ group: 'Feedback', name: 'u-modal', alias: '弹窗', path: 'cloud-ui.vusion/src/u-modal.vue/README.md' },
{ group: 'Feedback', name: 'u-lightbox', alias: '灯箱', path: 'cloud-ui.vusion/src/u-lightbox.vue/README.md' },
{ group: 'Progress & Charts', name: 'u-linear-progress', alias: '线形进度条', path: 'cloud-ui.vusion/src/u-linear-progress.vue/README.md' },
{ group: 'Progress & Charts', name: 'u-circular-progress', alias: '环形进度条', path: 'cloud-ui.vusion/src/u-circular-progress.vue/README.md' },
{ group: 'Progress & Charts', name: 'u-water-progress', alias: '水量进度条' },
{ group: 'Progress & Charts', name: 'u-chart', alias: '图表基类' },
{ group: 'Progress & Charts', name: 'u-bar-chart', alias: '柱状图', path: 'cloud-ui.vusion/src/u-bar-chart.vue/README.md' },
{ group: 'Progress & Charts', name: 'u-xbar-chart', alias: '水平柱状图', path: 'cloud-ui.vusion/src/u-xbar-chart.vue/README.md' },
{ group: 'Progress & Charts', name: 'u-line-chart', alias: '线状图' },
{ group: 'Progress & Charts', name: 'u-pie-chart', alias: '饼状图' },
{ group: 'Progress & Charts', name: 'u-donut-chart', alias: '甜圈图' },
// { group: 'Extension', name: 'x-ace-editor', alias: '代码编辑器', path: 'x-ace-editor.vue/README.md' },
{ group: 'Mixin & Utils', name: 'u-emitter', alias: '触发器' },
{ group: 'Mixin & Utils', name: 'u-router-item', alias: '路由项' },
{ group: 'Mixin & Utils', name: 'u-collapse-transition', alias: '收缩过渡' },
{ group: 'Mixin & Utils', name: 'u-draggable', alias: '拖拽' },
{ group: 'Mixin & Utils', name: 'u-droppable', alias: '拖放' },
{ group: 'Mixin & Utils', name: 'u-dragger', alias: '拖拽器' },
],
},
};