-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.umirc.ts
44 lines (43 loc) · 1.05 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
import { defineConfig } from '@umijs/max';
export default defineConfig({
antd: {
dark: true,
configProvider: {},
},
access: {},
model: {},
initialState: {},
request: {},
layout: {
title: 'Emoji Hub - 收录三千多个Emoji',
},
title: 'Emoji Hub - 收录三千多个Emoji',
metas: [
{ name: 'keywords', content: 'Emoji, 快捷Emoji' },
{
name: 'description',
content:
'这是一个使用 umi4 构建的 emoji 网站,通过分类展示各种 emoji ,支持搜索功能。配合 vscode 插件快捷 emoji,可以快速查看以及使用 emoji',
},
],
links: [{ rel: 'icon', type: 'image/x-icon', href: 'favicon.ico' }],
routes: [
{
path: '/',
redirect: '/home',
},
{
name: 'Emoji Hub',
path: '/home',
component: '@/layouts/index',
layout: false,
routes: [{ path: '', component: './Home', layout: false }],
},
],
npmClient: 'pnpm',
lessLoader: {
modifyVars: {
hack: 'true; @import "./src/styles/variables.less";',
},
},
});