-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.dumirc.ts
38 lines (37 loc) · 1008 Bytes
/
.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
import { defineConfig } from 'dumi'
import { nav } from './config/nav'
import { sidebar } from './config/sidebar'
exports.default = defineConfig({
themeConfig: {
name: 'Uab Ui Mobile',
logo: 'https://avatars.githubusercontent.com/u/73016681?s=200&v=4',
nav: nav,
sidebar: sidebar,
hd: {
rules: [],
},
deviceWidth: 375,
},
locales: [
{ id: 'zh', name: '中文' },
{ id: 'en', name: 'English' },
],
resolve: {
docDirs: ['docs'],
atomDirs: [{ type: 'component', dir: 'src' }],
codeBlockMode: 'passive',
},
alias: {
'uab-ui-mobile-demos': process.cwd() + '/src/demos/index.ts',
'uab-ui-mobile-utils': process.cwd() + '/src/utils/index.ts',
},
favicons: ['https://avatars.githubusercontent.com/u/73016681?s=88&v=4'],
metas: [
{
name: 'viewport',
content:
'width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover',
},
],
outputPath: 'website',
})