-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
45 lines (40 loc) · 996 Bytes
/
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
export default defineNuxtConfig({
modules: [
['@pinia/nuxt', { autoImports: ['defineStore'] }],
'@vueuse/nuxt',
'@nuxtjs/tailwindcss',
'@nuxtjs/i18n',
'@nuxtjs/google-fonts',
'@nuxt/icon',
'nuxt-gtag'
],
app: {
head: {
title: 'Nuxt3 Starter',
meta: [
{ charset: 'utf-8' },
{ hid: 'keywords', name: 'keywords', content: '' },
{ hid: 'description', name: 'description', content: '' }
],
link: [{ rel: 'icon', href: '/favicon.svg' }]
}
},
typescript: { strict: true },
css: ['~~/assets/css/app.css', '~~/assets/css/transition.css'],
i18n: {
langDir: './locales',
skipSettingLocaleOnNavigate: true,
locales: [{ code: 'en', name: 'English', file: 'en.yaml' }],
defaultLocale: 'en',
detectBrowserLanguage: {
useCookie: true
},
vueI18n: './i18n.config.js'
},
googleFonts: {
families: {
'Fira Code': true
}
},
compatibilityDate: '2024-09-14'
})