mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-02-02 00:29:36 +01:00
Initial commit
This commit is contained in:
60
nuxt.config.ts
Normal file
60
nuxt.config.ts
Normal file
@@ -0,0 +1,60 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
future: { compatibilityVersion: 4 },
|
||||
|
||||
modules: [
|
||||
'@nuxthub/core',
|
||||
'@nuxt/eslint',
|
||||
'@nuxt/ui',
|
||||
'@nuxt/content',
|
||||
'@vueuse/nuxt',
|
||||
"@nuxtjs/google-fonts"
|
||||
],
|
||||
|
||||
hub: {
|
||||
cache: true,
|
||||
},
|
||||
|
||||
app: {
|
||||
pageTransition: { name: "page", mode: "out-in" },
|
||||
},
|
||||
|
||||
content: {
|
||||
highlight: {
|
||||
theme: "github-dark",
|
||||
},
|
||||
},
|
||||
|
||||
colorMode: {
|
||||
preference: "light",
|
||||
fallback: "light",
|
||||
},
|
||||
|
||||
ui: {
|
||||
icons: ["heroicons", "logos", "ph"],
|
||||
|
||||
},
|
||||
|
||||
devtools: {
|
||||
enabled: true,
|
||||
timeline: { enabled: true, }
|
||||
},
|
||||
|
||||
eslint: {
|
||||
config: {
|
||||
stylistic: {
|
||||
quotes: 'single',
|
||||
commaDangle: 'never'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
googleFonts: {
|
||||
display: "swap",
|
||||
families: {
|
||||
Inter: [400, 500, 600, 700, 800, 900],
|
||||
'Sofia Sans': [400],
|
||||
'DM Sans': [400, 500, 600, 700, 800, 900],
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user