-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
69 lines (60 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
64
65
66
67
68
69
// https://nuxt.com/docs/api/configuration/nuxt-config
// @ts-ignore
export default defineNuxtConfig({
future: {
compatibilityVersion: 4,
},
modules: [
'@nuxtjs/i18n',
'@nuxt/test-utils',
'@nuxt/eslint',
'@regle/nuxt',
'vue-sonner/nuxt'
],
plugins: [
{ src: '~/plugins/bootstrap.client.ts', mode: 'client' }
],
i18n: {
lazy: true,
locales: [
{
code: 'en',
file: 'en.json'
},
{
code: 'ja',
file: 'ja.json'
}
],
defaultLocale: 'en',
langDir: 'locales',
vueI18n: './i18n.config.ts',
detectBrowserLanguage: {
useCookie: true,
cookieKey: 'i18n_redirected',
cookieCrossOrigin: false,
redirectOn: 'root'// recommended
},
strategy: 'no_prefix'
},
// @ts-ignore
runtimeConfig: {
public: {
backendOriginURL: 'http://localhost:3000',
googleClientId: ''
},
backendOriginURL: 'http://localhost:3000'
},
css: [
'@/assets/styles/main.scss',
'bootstrap-icons/font/bootstrap-icons.css'
],
build: {
transpile: ['vue-sonner']
},
devtools: {
enabled: true
},
pages: true,
compatibilityDate: '2025-04-18'
})