-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.umirc.ts
More file actions
40 lines (39 loc) · 829 Bytes
/
.umirc.ts
File metadata and controls
40 lines (39 loc) · 829 Bytes
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
import { defineConfig } from "dumi";
export default defineConfig({
title: "StaticScript",
mode: "site",
locales: [
["zh-CN", "中文"],
["en-US", "English"]
],
hash: true,
headScripts: [
{
src: "https://www.googletagmanager.com/gtag/js?id=UA-89371431-6",
async: true
},
{
content: `window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date());gtag("config","UA-89371431-6");`
}
],
navs: {
"zh-CN": [
null,
{
title: "GitHub",
path: "https://github.com/StaticScript/StaticScript"
}
],
"en-US": [
null,
{
title: "GitHub",
path: "https://github.com/StaticScript/StaticScript"
}
]
},
ssr: {
devServerRender: false
},
exportStatic: {}
});