-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.umirc.ts
40 lines (39 loc) · 810 Bytes
/
.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
import { defineConfig } from '@umijs/max';
export default defineConfig({
antd: {},
access: {},
model: {},
initialState: {},
request: {},
layout: {
title: 'dbml-editor - free online DBML editor',
locale: false,
},
routes: [
{
path: '/',
component: './Home',
},
{
name: 'Source',
path: 'https://github.com/alswl/dbml-editor',
external: true,
},
{
name: 'How to use DBML',
path: 'https://dbml.dbdiagram.io/home',
external: true,
},
{
name: '@alswl',
path: 'https://twitter.com/alswl',
external: true,
},
],
npmClient: 'pnpm',
esbuildMinifyIIFE: true,
analytics: {
ga_v2: 'G-SFYS0VCR5W', // Google Analytics 的 key (GA 4)
baidu: '4d80269d802b65e5b0356366f7fbb125',
},
});