-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.umirc.ts
80 lines (79 loc) · 1.62 KB
/
.umirc.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
import { defineConfig } from 'dumi';
export default defineConfig({
resolve: { includes: ['docs', 'src'] },
menus: {
'/guide': [
{
title: '指南',
children: [
{
title: '安装',
path: '/guide/installation',
},
],
},
{
title: '示例',
children: [
{
title: '自定义背景色',
path: '/guide/background',
},
{
title: '获取截图',
path: '/guide/snapshot',
},
{
title: '旋转模型',
path: '/guide/rotation',
},
{
title: 'GLTF格式',
path: '/guide/gltf',
},
{
title: 'Collada格式',
path: '/guide/collada',
},
{
title: 'FBX格式',
path: '/guide/fbx',
},
{
title: 'OBJ格式',
path: '/guide/obj',
},
{
title: 'PLY格式',
path: '/guide/ply',
},
{
title: 'STL格式',
path: '/guide/stl',
},
{
title: '模型组',
path: '/guide/Group',
},
],
},
],
},
navs: [
{
title: '指南',
path: '/guide',
},
{
title: 'GitHub',
path: 'https://github.com/xiaxiangfeng/react-3d-model',
},
],
publicPath: './',
history: { type: 'hash' },
title: 'react-3d-model',
favicon: './3d.png',
logo: './3d.png',
outputPath: 'docs-dist',
mode: 'site',
});