-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
95 lines (94 loc) · 1.84 KB
/
nuxt.config.ts
File metadata and controls
95 lines (94 loc) · 1.84 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import tailwindcss from "@tailwindcss/vite";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-05-15',
devtools: { enabled: true },
modules: [
'@nuxtjs/sitemap',
'@nuxtjs/i18n',
'@nuxt/icon',
'@nuxtjs/robots',
'dayjs-nuxt',
'@nuxt/content',
'@nuxt/fonts',
'@nuxt/image',
'@nuxt/scripts',
],
content: {
experimental: { nativeSqlite: true },
},
fonts: {
defaults: {
weights: ['400 700'],
styles: ['normal', 'italic'],
subsets: [
'cyrillic-ext',
'cyrillic',
'greek-ext',
'greek',
'vietnamese',
'latin-ext',
'latin',
'japanese',
],
}
},
image: {
domains: [
'lase.dev',
'map.mcscr.jp',
]
},
plugins: [
'~/plugins/effects.client.js',
],
ssr: true,
dayjs: {
locales: ['en', 'ja'],
plugins: ['relativeTime', 'utc', 'timezone'],
defaultLocale: 'en',
defaultTimezone: 'Asia/Tokyo',
},
i18n: {
bundle: {
optimizeTranslationDirective: false,
},
defaultLocale: 'en',
locales: [
{ code: 'en', name: 'english', file: 'en.js' },
{ code: 'ja', name: '日本語', file: 'ja.js' },
{ code: 'xi', name: 'éxlip', file: 'xi.js' },
],
lazy: true,
strategy: "no_prefix",
},
routeRules: {
'/test/**': { robots: false },
'/chores/**': { robots: false },
},
robots: {
disallow: [
'/test/**',
'/chores/**',
]
},
site: {
url: 'https://lase.dev',
name: 'lase.dev',
},
studio: {
// https://nuxt.studio/setup#git-provider
repository: {
provider: 'github',
owner: 'driplase',
repo: 'lase.dev',
branch: 'master',
private: false
},
},
vite: {
plugins: [
tailwindcss(),
],
},
})