-
Notifications
You must be signed in to change notification settings - Fork 130
/
.dumirc.ts
executable file
·496 lines (492 loc) · 24.3 KB
/
.dumirc.ts
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
import { defineConfig } from 'dumi';
import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin';
import path from 'path';
const scriptText = `
(function() {
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = '/assets/global.css';
document.body.appendChild(link);
}());
`;
const DRIP_TABLE_SIDEBAR = [
{
children: [
{
title: '介绍 Index',
link: '/drip-table',
children: [
{ title: '介绍', link: '/drip-table' },
],
},
{
title: '快速开始 Quick Start',
link: '/drip-table/quick-start',
children: [
{ title: '快速开始', link: '/drip-table/quick-start' },
],
},
{
title: '基础案例 Basic Demo',
link: '/drip-table/basic-demo',
children: [
{ title: '基础案例', link: '/drip-table/basic-demo' },
],
},
{
title: '高级案例 Pro Demo',
link: '/drip-table/demo',
children: [
{ title: '高级案例', link: '/drip-table/demo' },
],
},
{
title: '组件 Components',
link: '/drip-table/components',
children: [
{ title: '目录', link: '/drip-table/components' },
{ title: '文本 Text', link: '/drip-table/components/text' },
{ title: '状态 Status', link: '/drip-table/components/status' },
{ title: '图片 Image', link: '/drip-table/components/image' },
{ title: '链接 Link', link: '/drip-table/components/link' },
{ title: '标签 Tag', link: '/drip-table/components/tag' },
{ title: '按钮 Button', link: '/drip-table/components/button' },
{ title: '下拉 Select', link: '/drip-table/components/select' },
{ title: '日期 DatePicker', link: '/drip-table/components/date-picker' },
{ title: '网页 PopUpPage', link: '/drip-table/components/pop-up-page' },
{ title: '数字 InputNumber', link: '/drip-table/components/input-number' },
{ title: '开关 Switch', link: '/drip-table/components/switch' },
{ title: '多选框 Checkbox', link: '/drip-table/components/checkbox' },
{ title: '图标 Icon', link: '/drip-table/components/icon' },
{ title: '组合 Group', link: '/drip-table/components/group' },
{ title: '浮窗 Popover', link: '/drip-table/components/popover' },
],
},
{
title: '表格配置 Schema',
link: '/drip-table/schema',
children: [
{ title: '目录', link: '/drip-table/schema' },
{ title: '标识符 id', link: '/drip-table/schema/id' },
{ title: '主题配置 theme', link: '/drip-table/schema/theme' },
{ title: '类名 className', link: '/drip-table/schema/class-name' },
{ title: '样式 style', link: '/drip-table/schema/style' },
{ title: '内部类名 innerClassName', link: '/drip-table/schema/inner-class-name' },
{ title: '内部样式 innerStyle', link: '/drip-table/schema/inner-style' },
{
title: '列配置 columns',
link: '/drip-table/schema/columns',
children: [
{ title: '目录', link: '/drip-table/schema/columns' },
{ title: '唯一标识 key', link: '/drip-table/schema/columns/key' },
{ title: '列头 title', link: '/drip-table/schema/columns/title' },
{ title: '列拆分 children', link: '/drip-table/schema/columns/children' },
{ title: '列索引 dataIndex', link: '/drip-table/schema/columns/data-index' },
{ title: '列数据处理 dataTranslation', link: '/drip-table/schema/columns/data-translation' },
{ title: '默认数据 defaultValue', link: '/drip-table/schema/columns/default-value' },
{ title: '单元格样式 style', link: '/drip-table/schema/columns/style' },
{ title: '悬浮样式 hoverStyle', link: '/drip-table/schema/columns/hover-style' },
{ title: '行悬浮样式 rowHoverStyle', link: '/drip-table/schema/columns/row-hover-style' },
{ title: '列悬浮样式 columnHoverStyle', link: '/drip-table/schema/columns/column-hover-style' },
{ title: '列宽 width', link: '/drip-table/schema/columns/width' },
{ title: '水平对齐 align', link: '/drip-table/schema/columns/align' },
{ title: '垂直对齐 verticalAlign', link: '/drip-table/schema/columns/vertical-align' },
{ title: '表头描述 description', link: '/drip-table/schema/columns/description' },
{ title: '列固定 fixed', link: '/drip-table/schema/columns/fixed' },
{ title: '列隐藏 hidden', link: '/drip-table/schema/columns/hidden' },
{ title: '列禁用 disable', link: '/drip-table/schema/columns/disable' },
{ title: '列可编辑 editable', link: '/drip-table/schema/columns/editable' },
{ title: '列可隐藏 hidable', link: '/drip-table/schema/columns/hidable' },
{ title: '排序 sorter', link: '/drip-table/schema/columns/sorter' },
{ title: '排序方式 sortDirections', link: '/drip-table/schema/columns/sort-directions' },
{ title: '过滤器 filters', link: '/drip-table/schema/columns/filters' },
{ title: '过滤器最大数量 filtersMaxSelect', link: '/drip-table/schema/columns/filters-max-select' },
{ title: '过滤器默认值 defaultFilteredValue', link: '/drip-table/schema/columns/default-filtered-value' },
{ title: '组件类型 component', link: '/drip-table/schema/columns/component' },
{ title: '配置项 options', link: '/drip-table/schema/columns/options' },
],
},
{ title: '边框 bordered', link: '/drip-table/schema/bordered' },
{ title: '边框圆角 borderRadius', link: '/drip-table/schema/border-radius' },
{ title: '显示表头 showHeader', link: '/drip-table/schema/show-header' },
{ title: '头部 header', link: '/drip-table/schema/header' },
{ title: '尾部 footer', link: '/drip-table/schema/footer' },
{ title: '分页 pagination', link: '/drip-table/schema/pagination' },
{ title: '大小 size', link: '/drip-table/schema/size' },
{ title: '冻结表头 sticky', link: '/drip-table/schema/sticky' },
{ title: '滚动设置 scroll', link: '/drip-table/schema/scroll' },
{ title: '行可选择 rowSelection', link: '/drip-table/schema/row-selection' },
{ title: '行可拖拽 rowDraggable', link: '/drip-table/schema/row-draggable' },
{ title: '可编辑 editable', link: '/drip-table/schema/editable' },
{ title: '表格布局 tableLayout', link: '/drip-table/schema/table-layout' },
{ title: '间隔斑马纹 stripe', link: '/drip-table/schema/stripe' },
{ title: '虚拟滚动 virtual', link: '/drip-table/schema/virtual' },
{ title: '行高 rowHeight', link: '/drip-table/schema/row-height' },
{ title: '行主键 rowKey', link: '/drip-table/schema/row-key' },
{ title: '行插槽键名 rowSlotKey', link: '/drip-table/schema/row-slot-key' },
{ title: '行头插槽 rowHeader', link: '/drip-table/schema/row-header' },
{ title: '行尾插槽 rowFooter', link: '/drip-table/schema/row-footer' },
{ title: '行列合并 span', link: '/drip-table/schema/span' },
{ title: '空表提示 emptyText', link: '/drip-table/schema/empty-text' },
{ title: '默认排序 initialSorter', link: '/drip-table/schema/initial-sorter' },
{ title: '子表 subtable', link: '/drip-table/schema/subtable' },
],
},
{
title: '插槽系统 Slot',
link: '/drip-table/slot',
children: [
{ title: '插槽系统', link: '/drip-table/slot' },
{ title: '插槽样式 style', link: '/drip-table/slot/style' },
{ title: '插槽配置 elements', link: '/drip-table/slot/elements' },
],
},
{
title: '布局差异化 Layout',
link: '/drip-table/layout',
children: [
{ title: '目录', link: '/drip-table/layout' },
{ title: '卡片模式 Card', link: '/drip-table/layout/card-layout' },
],
},
{
title: '属性参数 Props',
link: '/drip-table/props',
children: [
{ title: '目录', link: '/drip-table/props' },
{ title: '样式表类名 className', link: '/drip-table/props/class-name' },
{ title: '自定义样式表 style', link: '/drip-table/props/style' },
{ title: '引用实例 ref', link: '/drip-table/props/ref' },
{ title: '校验配置项 ajv', link: '/drip-table/props/ajv' },
{ title: '表格配置 schema', link: '/drip-table/props/schema' },
{ title: '校验配置项 dataSource', link: '/drip-table/props/data-source' },
{ title: '当前显示列键 displayColumnKeys', link: '/drip-table/props/display-column-keys' },
{ title: '指定行可选择 rowSelectable', link: '/drip-table/props/row-selectable' },
{ title: '选中行键 selectedRowKeys', link: '/drip-table/props/selected-row-keys' },
{ title: '冻结表头 sticky', link: '/drip-table/props/sticky' },
{ title: '总条数 total', link: '/drip-table/props/total' },
{ title: '当前页码 currentPage', link: '/drip-table/props/current-page' },
{ title: '加载中 loading', link: '/drip-table/props/loading' },
{ title: '空表提示 emptyText', link: '/drip-table/props/empty-text' },
{ title: '顶部渲染函数 title', link: '/drip-table/props/title' },
{ title: '底部渲染函数 footer', link: '/drip-table/props/footer' },
{ title: '子表顶部渲染函数 subtableTitle', link: '/drip-table/props/subtable-title' },
{ title: '子表底部渲染函数 subtableFooter', link: '/drip-table/props/subtable-footer' },
{ title: '子表配置项 subtableProps', link: '/drip-table/props/subtable-props' },
{ title: '自定义组件库 components', link: '/drip-table/props/components' },
{ title: '默认组件库名 defaultComponentLib', link: '/drip-table/props/default-component-lib' },
{ title: '组件插槽 slots', link: '/drip-table/props/slots' },
{ title: '附加透传数据 ext', link: '/drip-table/props/ext' },
{ title: '指定行可展开 rowExpandable', link: '/drip-table/props/row-expandable' },
{ title: '行展开渲染函数 expandedRowRender', link: '/drip-table/props/expanded-row-render' },
{ title: '子表默认展开项 defaultExpandedRowKeys', link: '/drip-table/props/default-expanded-row-keys' },
{ title: '子表默认展开 defaultExpandAllRows', link: '/drip-table/props/default-expand-all-rows' },
{ title: '行头插槽是否显示 rowHeaderVisible', link: '/drip-table/props/row-header-visible' },
{ title: '行尾插槽是否显示 rowFooterVisible', link: '/drip-table/props/row-footer-visible' },
{ title: '方法预处理 schemaFunctionPreprocessor', link: '/drip-table/props/schema-function-preprocessor' },
{ title: '组件加载完成 componentDidMount', link: '/drip-table/props/component-did-mount' },
{ title: '组件更新完成 componentDidUpdate', link: '/drip-table/props/component-did-update' },
{ title: '组件即将卸载 componentWillUnmount', link: '/drip-table/props/component-will-unmount' },
{ title: '点击行触发 onRowClick', link: '/drip-table/props/on-row-click' },
{ title: '双击行触发 onRowDoubleClick', link: '/drip-table/props/on-row-double-click' },
{ title: '行展开触发 onRowExpand', link: '/drip-table/props/on-row-expand' },
{ title: '行收起触发 onRowCollapse', link: '/drip-table/props/on-row-collapse' },
{ title: '行变化触发 onSelectionChange', link: '/drip-table/props/on-selection-change' },
{ title: '搜索触发 onSearch', link: '/drip-table/props/on-search' },
{ title: '添加按钮触发 onInsertButtonClick', link: '/drip-table/props/on-insert-button-click' },
{ title: '页码变化触发 onPageChange', link: '/drip-table/props/on-page-change' },
{ title: '分页器触发 onPaginationChange', link: '/drip-table/props/on-pagination-change' },
{ title: '排序触发 onSorterChange', link: '/drip-table/props/on-sorter-change' },
{ title: '过滤器触发 onFilterChange', link: '/drip-table/props/on-filter-change' },
{ title: '变动触发 onChange', link: '/drip-table/props/on-change' },
{ title: '展示列触发 onDisplayColumnKeysChange', link: '/drip-table/props/on-display-column-keys-change' },
{ title: '通用事件机制 onEvent', link: '/drip-table/props/on-event' },
{ title: '自定义多选 renderSelection', link: '/drip-table/props/render-selection' },
{ title: '自定义分页器 renderPagination', link: '/drip-table/props/render-pagination' },
{ title: '自定义列头筛选器 renderHeaderCellFilter', link: '/drip-table/props/render-header-cell-filter' },
{ title: '自定义沙箱 createEvaluator', link: '/drip-table/props/create-evaluator' },
],
},
{
title: '接口 Api',
link: '/drip-table/api',
children: [
{ title: '目录', link: '/drip-table/api' },
{ title: '展示列 displayColumnKeys', link: '/drip-table/api/display-column-keys' },
{ title: '设置展示列 setDisplayColumnKeys', link: '/drip-table/api/set-display-column-keys' },
{ title: '排序器 sorter', link: '/drip-table/api/sorter' },
{ title: '设置排序器 setSorter', link: '/drip-table/api/set-sorter' },
],
},
{
title: '类型 Types',
link: '/drip-table/types',
children: [
{ title: '目录', link: '/drip-table/types' },
{ title: '表格信息 TableInformation', link: '/drip-table/types/table-information' },
{ title: '插槽配置项 SlotSchema', link: '/drip-table/types/slot-schema' },
{ title: '列配置项 ColumnSchema', link: '/drip-table/types/column-schema' },
],
},
{
title: '常见问题 FAQ',
link: '/drip-table/faq',
children: [
{ title: '常见问题', link: '/drip-table/faq' },
],
},
{
title: '更新日志 Changelog',
link: '/drip-table/changelog',
children: [
{ title: '更新日志', link: '/drip-table/changelog' },
],
},
{
title: '版本升级 Migration',
link: '/drip-table/migration',
children: [
{ title: '目录', link: '/drip-table/migration' },
{ title: 'V2-V3', link: '/drip-table/migration/v2-v3' },
],
},
],
},
];
const DRIP_TABLE_GENERATOR_SIDEBAR = [
{
children: [
{
title: '介绍 Index',
link: '/drip-table-generator',
children: [
{ title: '介绍', link: '/drip-table-generator' },
],
},
{
title: '快速开始 Quick Start',
link: '/drip-table-generator/quick-start',
children: [
{ title: '快速开始', link: '/drip-table-generator/quick-start' },
],
},
{
title: '使用教程 Tutorial',
link: '/drip-table-generator/tutorial',
children: [
{ title: '使用教程', link: '/drip-table-generator/tutorial' },
{ title: 'Refs引用', link: '/drip-table-generator/tutorial/refs' },
{ title: '高级教程', link: '/drip-table-generator/tutorial/usage-pro' },
{ title: '自定义属性面板', link: '/drip-table-generator/tutorial/custom' },
{ title: 'API', link: '/drip-table-generator/tutorial/api' },
{ title: '表头自定义配置', link: '/drip-table-generator/tutorial/title' },
{ title: '头部配置', link: '/drip-table-generator/tutorial/header' },
{ title: '数据预览配置', link: '/drip-table-generator/tutorial/data-source' },
{ title: '透传 Table 属性', link: '/drip-table-generator/tutorial/table-props' },
{ title: '自定义主题配置', link: '/drip-table-generator/tutorial/custom-theme' },
],
},
{
title: '内置组件库 Components',
link: '/drip-table-generator/components',
children: [
{ title: '内置组件库', link: '/drip-table-generator/components' },
{ title: '组合组件', link: '/drip-table-generator/components/group' },
{ title: '自定义组件', link: '/drip-table-generator/components/lowcode' },
{ title: 'CDN 链接组件', link: '/drip-table-generator/components/cdn-link' },
{ title: '富文本组件', link: '/drip-table-generator/components/rich-text' },
],
},
{
title: '属性参数 Props',
link: '/drip-table-generator/props',
children: [
{ title: 'index', link: '/drip-table-generator/props' },
{ title: 'draggable', link: '/drip-table-generator/props/draggable' },
{ title: 'style', link: '/drip-table-generator/props/style' },
{ title: 'width', link: '/drip-table-generator/props/width' },
{ title: 'height', link: '/drip-table-generator/props/height' },
{ title: 'showTemplate', link: '/drip-table-generator/props/show-template' },
{ title: 'showToolbar', link: '/drip-table-generator/props/show-toolbar' },
{ title: 'customTemplates', link: '/drip-table-generator/props/custom-templates' },
{ title: 'customGlobalConfigPanel', link: '/drip-table-generator/props/custom-global-config-panel' },
{ title: 'customAttributeComponents', link: '/drip-table-generator/props/custom-attribute-components' },
{ title: 'customColumnAddPanel', link: '/drip-table-generator/props/custom-column-add-panel' },
{ title: 'dataFields', link: '/drip-table-generator/props/data-fields' },
{ title: 'save', link: '/drip-table-generator/props/save' },
{ title: 'mode', link: '/drip-table-generator/props/mode' },
{ title: 'mockDataSource', link: '/drip-table-generator/props/mock-data-source' },
{ title: 'noDataFeedback', link: '/drip-table-generator/props/no-data-feedback' },
{ title: 'onExportSchema', link: '/drip-table-generator/props/on-export-schema' },
{ title: 'onDataSourceChange', link: '/drip-table-generator/props/on-datasource-change' },
{ title: 'onSave', link: '/drip-table-generator/props/on-save' },
{ title: 'onClick', link: '/drip-table-generator/props/on-click' },
{ title: 'onColumnItemChanged', link: '/drip-table-generator/props/on-column-item-changed' },
{ title: 'slotsSchema', link: '/drip-table-generator/props/slots-schema' },
],
},
{
title: '常见问题 FAQ',
link: '/drip-table-generator/faq',
children: [
{ title: '常见问题', link: '/drip-table-generator/faq' },
],
},
{
title: '案例展示 Demo',
link: '/drip-table-generator/demo',
children: [
{ title: '案例展示', link: '/drip-table-generator/demo' },
],
},
{
title: '更新日志 Changelog',
link: '/drip-table-generator/changelog',
children: [
{ title: '更新日志', link: '/drip-table-generator/changelog' },
],
},
],
},
];
export default defineConfig({
// 重点配置项
// https://d.umijs.org/config#%E9%87%8D%E7%82%B9%E9%85%8D%E7%BD%AE%E9%A1%B9
resolve: {
atomDirs: [
{ type: 'component', dir: 'docs' },
{ type: 'component', dir: 'docs/drip-table' },
{ type: 'component', dir: 'docs/drip-table/schema' },
],
},
locales: [{ id: 'zh-CN', name: '中文' }],
analytics: {
// google analytics 的 key (GA 4)
ga_v2: 'G-FSYSGDZ0KE',
// 百度统计的 key
// baidu: 'baidu_tongji_key',
},
sitemap: {
hostname: 'https://drip-table.jd.com',
},
// 主题配置项
// https://d.umijs.org/config#%E4%B8%BB%E9%A2%98%E9%85%8D%E7%BD%AE%E9%A1%B9
themeConfig: {
logo: 'https://img11.360buyimg.com/imagetools/jfs/t1/156025/11/22552/175523/617fb164E678b9642/6b8c55c5079b9819.jpg',
nav: [
{
title: '渲染器',
link: '/drip-table',
children: [
{ title: '使用指南', link: '/drip-table' },
{ title: '常见问题', link: '/drip-table/faq' },
{ title: '案例展示', link: '/drip-table/demo' },
{ title: '更新日志', link: '/drip-table/changelog' },
],
},
{
title: '生成器',
link: '/drip-table-generator',
children: [
{ title: '使用指南', link: '/drip-table-generator' },
{ title: '常见问题', link: '/drip-table-generator/faq' },
{ title: '案例展示', link: '/drip-table-generator/demo' },
{ title: '更新日志', link: '/drip-table-generator/changelog' },
],
},
{
title: 'DEMO',
link: '/demo',
children: [],
},
{
title: '',
link: 'https://github.com/JDFED/drip-table',
children: [],
},
],
sidebar: {
'/drip-table': DRIP_TABLE_SIDEBAR,
'/drip-table/components': DRIP_TABLE_SIDEBAR,
'/drip-table/schema': DRIP_TABLE_SIDEBAR,
'/drip-table/schema/columns': DRIP_TABLE_SIDEBAR,
'/drip-table/slot': DRIP_TABLE_SIDEBAR,
'/drip-table/layout': DRIP_TABLE_SIDEBAR,
'/drip-table/props': DRIP_TABLE_SIDEBAR,
'/drip-table/api': DRIP_TABLE_SIDEBAR,
'/drip-table/types': DRIP_TABLE_SIDEBAR,
'/drip-table/migration': DRIP_TABLE_SIDEBAR,
'/drip-table-generator': DRIP_TABLE_GENERATOR_SIDEBAR,
'/drip-table-generator/tutorial': DRIP_TABLE_GENERATOR_SIDEBAR,
'/drip-table-generator/components': DRIP_TABLE_GENERATOR_SIDEBAR,
'/drip-table-generator/props': DRIP_TABLE_GENERATOR_SIDEBAR,
'/demo': [],
},
},
// 基础配置项
// https://d.umijs.org/config#%E5%9F%BA%E7%A1%80%E9%85%8D%E7%BD%AE%E9%A1%B9
alias: {
'drip-table': path.resolve(__dirname, './packages/drip-table'),
'@@drip-table-src': path.resolve(__dirname, './packages/drip-table/src/'),
'drip-table-generator': path.resolve(__dirname, './packages/drip-table-generator'),
},
chainWebpack(config, { webpack }) {
config.devServer.contentBase(path.join(__dirname, 'docs-static'));
config.devServer.watchContentBase(true);
config.plugin('monaco-editor').use(MonacoWebpackPlugin);
},
copy: [
{ from: 'docs-static', to: 'docs-dist' },
],
extraBabelPlugins: [
[
'import',
{
libraryName: 'antd',
libraryDirectory: 'lib',
style: true,
},
'antd',
],
[
'import',
{
libraryName: '@alifd/next',
libraryDirectory: 'lib',
},
'@alifd/next',
],
],
exportStatic: {},
favicons: ['https://img13.360buyimg.com/imagetools/jfs/t1/204416/31/13736/8631/617f8334E9ae79a1c/5b96dfdce922e5fb.png'],
forkTSChecker: {
typescript: {
configOverwrite: {
exclude: ['node_modules', 'dist', 'packages'],
},
},
},
hash: true,
ignoreMomentLocale: false,
metas: [
{ name: 'keywords', content: 'DripTable,drip,drip-table,lowcode,react,中台,中后台,表格,开箱即用,可视化搭建' },
{ name: 'description', content: '轻量、强大的企业级列表可视化搭建解决方案,中后台「表格」开箱即用解决方案。' },
{ name: 'color-scheme', content: 'light' },
{ name: 'referrer', content: 'origin' },
{ itemprop: 'image', content: 'https://img13.360buyimg.com/imagetools/jfs/t1/204416/31/13736/8631/617f8334E9ae79a1c/5b96dfdce922e5fb.png' },
{ name: 'viewport', id: 'view', content: 'width=device-width, initial-scale=1.0 ,user-scalable=no' },
{ name: 'google-site-verification', content: 'mFmvTiwa8ZRLKOK3MC_g_kOKWJ4avZj_eXWsE7uFkDk' },
],
mfsu: {},
outputPath: 'docs-dist',
publicPath: '/',
proxy: {
'/storage.jd.com': {
target: 'https://storage.jd.com/',
changeOrigin: true,
pathRewrite: { '^/storage.jd.com': '' },
},
},
scripts: [scriptText],
});