-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
53 lines (53 loc) · 1.39 KB
/
nuxt.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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@unocss/nuxt',
'@vueuse/nuxt',
'@nuxt/image',
'@nuxtjs/i18n',
'@nuxt/content'
],
devtools: { enabled: false },
css: [
'@unocss/reset/tailwind.css'
],
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
meta: [
{ property: 'keywords', content: 'GopherDay, Golang, Go, Taiwan, Conference, 2024' },
{ property: 'og:type', content: 'website' },
{ property: 'og:site_name', content: 'GopherDay Taiwan 2024' },
{ property: 'og:image', content: 'https://gopherday.golang.tw/2024/og.png' },
{ property: 'og:image:width', content: '1200' },
{ property: 'og:image:height', content: '630' },
{ property: 'twitter:card', content: 'summary_large_image' },
{ property: 'twitter:image', content: 'https://gopherday.golang.tw/2024/og.png' }
]
},
baseURL: '/2024/'
},
i18n: {
baseUrl: 'https://gopherday.golang.tw/2024',
defaultLocale: 'zh-TW',
locales: [
{
code: 'zh-TW',
iso: 'zh-TW',
file: 'zh-TW.json',
name: '繁體中文'
},
{
code: 'en',
iso: 'en-US',
file: 'en.json',
name: 'English'
}
],
langDir: 'locales/'
},
content: {
contentHead: false
}
})