-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.umirc.ts
79 lines (78 loc) · 1.78 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
import { defineConfig } from "umi";
export default defineConfig({
routes: [
{ path: "/", component: "index" },
{
path: "/detail/:id",
component: "detail/$id.tsx",
},
{
path: "/category",
component: "category/index",
title: "分类"
},
{
path: "/single/:key",
component: "single/$key.tsx",
title: "单页"
},
{
path: "/tags",
component: "tags/index",
title: "标签"
},
{
path: "/idea/:title",
component: "doc/doc_page",
title: "学习笔记"
},
{
path: "/all",
component: "all/index",
title: "归档"
},
{
path: "/links",
component: "links/index",
title: "友链"
},
{
path: "/about",
component: "about/index",
title: "关于"
},
{
path: "/projects",
component: "project/index",
title: "项目"
},
{
path: '/g',
component: 'group/index',
title: '群组',
routes: [
{
path: '/g/:id',
component: 'group/list',
}
]
}
],
title: '典典的博客',
npmClient: "pnpm",
tailwindcss: {
tailwindCssFilePath: 'tailwind.css',
tailwindConfigFilePath: "tailwind.config.js",
},
plugins: ["@umijs/plugins/dist/tailwindcss"],
esbuildMinifyIIFE: true,
publicPath: '/',
favicons: [
"/favicon.ico",
],
metas: [
{ name: 'keywords', content: '典典博客,梁典典,梁典典的博客,flutter博客,flutter' },
{ name: 'description', content: '欢迎来到典典博客,这里是梁典典的个人博客,专注于Flutter开发教程和心得分享。如果你对Flutter开发感兴趣,请关注梁典典的博客,获取最新的Flutter资讯和技术分享。' },
]
// mako: {}
});