-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
63 lines (63 loc) · 1.19 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
54
55
56
57
58
59
60
61
62
63
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
meta: [
{
name: 'keywords',
content: 'Nur Muhammad, Full Stack Developer',
},
{
name: 'description',
content: 'Experienced full stack developer that helps simplify your lives.',
},
],
},
},
typescript: {
shim: false,
},
modules: [
'@nuxt/content',
'@nuxtjs/tailwindcss',
'@vueuse/nuxt',
'@nuxtjs/i18n',
'nuxt-icon',
'nuxt-headlessui',
'@nuxt/image',
],
tailwindcss: {
cssPath: '@/assets/css/main.css',
},
postcss: {
plugins: {
'tailwindcss/nesting': {},
'tailwindcss': {},
},
},
content: {
locales: ['en', 'id'],
defaultLocale: 'en',
},
i18n: {
locales: [
{
code: 'en',
name: 'EN',
file: 'en.ts',
icon: 'flag:us-1x1',
},
{
code: 'id',
name: 'ID',
file: 'id.ts',
icon: 'flag:id-1x1',
},
],
lazy: true,
langDir: 'locales',
defaultLocale: 'en',
strategy: 'prefix_except_default',
detectBrowserLanguage: false,
},
})