-
-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathconfig.ts
57 lines (48 loc) · 1.38 KB
/
config.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
import { webpackBundler } from '@vuepress/bundler-webpack'
import { defineUserConfig } from "vuepress";
import { getDirname, path } from 'vuepress/utils'
import theme from "./theme.js";
import { googleAnalyticsPlugin } from '@vuepress/plugin-google-analytics'
import { registerComponentsPlugin } from '@vuepress/plugin-register-components'
const __dirname = getDirname(import.meta.url)
export default defineUserConfig({
base: "/",
bundler: webpackBundler({
postcss: {},
vue: {},
}),
title: "Java Design Patterns",
description: "Design patterns are best practices a programmer can use to solve common problems when designing an application or system.",
locales: {
"/": {
lang: "en-US",
title: "Java Design Patterns",
description: "Java Design Patterns (English)",
},
"/zh/": {
lang: "zh-CN",
title: "Java Design Patterns (中文)",
description: "",
},
"/ko/": {
lang: "ko-KR",
title: "Java Design Patterns (한국어)",
description: "",
},
"/es/": {
lang: "es-ES",
title: "Patrones de Diseño Java",
description: "Patrones de Diseño Java (Español)",
},
},
theme,
shouldPrefetch: false,
plugins: [
googleAnalyticsPlugin({
id: 'G-CN4DXNE50P',
}),
registerComponentsPlugin({
componentsDir: path.resolve(__dirname, './components'),
}),
],
});