-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
56 lines (56 loc) · 1.15 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
css: ["@/assets/styles/index.css"],
devtools: { enabled: true },
modules: [
"@nuxt/test-utils/module",
"@nuxtjs/seo",
"@nuxtjs/tailwindcss",
"@pinia/nuxt",
"@pinia-plugin-persistedstate/nuxt",
"@vueuse/nuxt",
"nuxt-svgo",
"@nuxtjs/i18n",
],
alias: {
"~/*": "../*",
"@/*": "../*",
},
ssr: false,
app: {
head: {
htmlAttrs: {
lang: "en-US",
},
},
baseURL: "/",
},
typescript: {
typeCheck: true,
},
piniaPersistedstate: {
storage: "localStorage",
},
i18n: {
locales: ["en", "fr"],
defaultLocale: "en",
strategy: "prefix_and_default",
detectBrowserLanguage: {
useCookie: true,
cookieKey: "i18n_redirected",
redirectOn: "root",
},
vueI18n: "./i18n.config.ts",
},
site: {
url: "https://nice-resume.piksail.com/",
name: "Nice Resume",
description: "CV/Resume template for developers",
indexable: false,
},
seo: {
redirectToCanonicalSiteUrl: true,
},
ogImage: { enabled: false },
compatibilityDate: "2024-07-23",
});