mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 18:59:59 +01:00
Add comments
This commit is contained in:
@@ -2,6 +2,17 @@
|
||||
export default defineNuxtConfig({
|
||||
future: { compatibilityVersion: 4 },
|
||||
|
||||
app: {
|
||||
pageTransition: { name: 'page', mode: 'out-in' },
|
||||
head: {
|
||||
htmlAttrs: { lang: 'en' },
|
||||
templateParams: {
|
||||
separator: '•'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// Nuxt Modules
|
||||
modules: [
|
||||
'@nuxthub/core',
|
||||
'@nuxt/eslint',
|
||||
@@ -14,6 +25,7 @@ export default defineNuxtConfig({
|
||||
'@nuxtjs/seo'
|
||||
],
|
||||
|
||||
// Nuxt Hub
|
||||
hub: {
|
||||
cache: true,
|
||||
kv: true,
|
||||
@@ -21,16 +33,7 @@ export default defineNuxtConfig({
|
||||
analytics: true
|
||||
},
|
||||
|
||||
app: {
|
||||
pageTransition: { name: 'page', mode: 'out-in' },
|
||||
head: {
|
||||
htmlAttrs: { lang: 'en' },
|
||||
templateParams: {
|
||||
separator: '•'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// Nuxt SEO
|
||||
site: {
|
||||
url: 'https://arthurdanjou.fr',
|
||||
name: 'Arthur Danjou',
|
||||
@@ -38,6 +41,9 @@ export default defineNuxtConfig({
|
||||
defaultLocale: 'en',
|
||||
trailingSlash: true
|
||||
},
|
||||
seo: {
|
||||
redirectToCanonicalSiteUrl: true
|
||||
},
|
||||
|
||||
// Disable to reduce size
|
||||
ogImage: {
|
||||
@@ -53,26 +59,31 @@ export default defineNuxtConfig({
|
||||
enabled: false
|
||||
},
|
||||
|
||||
// Nuxt Content
|
||||
content: {
|
||||
highlight: {
|
||||
theme: 'github-dark'
|
||||
}
|
||||
},
|
||||
|
||||
// Nuxt ColorMode
|
||||
colorMode: {
|
||||
preference: 'system',
|
||||
fallback: 'light'
|
||||
},
|
||||
|
||||
// Nuxt UI
|
||||
ui: {
|
||||
icons: ['heroicons', 'logos', 'ph']
|
||||
},
|
||||
|
||||
// Nuxt Devtools
|
||||
devtools: {
|
||||
enabled: true,
|
||||
timeline: { enabled: true }
|
||||
},
|
||||
|
||||
// Nuxt Eslint
|
||||
eslint: {
|
||||
config: {
|
||||
stylistic: {
|
||||
@@ -82,6 +93,7 @@ export default defineNuxtConfig({
|
||||
}
|
||||
},
|
||||
|
||||
// Nuxt Google Fonts
|
||||
googleFonts: {
|
||||
display: 'swap',
|
||||
families: {
|
||||
@@ -92,12 +104,14 @@ export default defineNuxtConfig({
|
||||
}
|
||||
},
|
||||
|
||||
// Nitro
|
||||
nitro: {
|
||||
experimental: {
|
||||
openAPI: true
|
||||
}
|
||||
},
|
||||
|
||||
// Nuxt Env
|
||||
runtimeConfig: {
|
||||
discord: {
|
||||
userId: '',
|
||||
|
||||
Reference in New Issue
Block a user