mahee-auffret/nuxt.config.ts

26 lines
573 B
TypeScript
Raw Normal View History

2024-02-21 00:30:14 +01:00
export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
'nuxt-directus',
'@nuxt/image',
'@nuxtjs/seo'
],
app: {
pageTransition: { name: 'page', mode: 'out-in' }
},
site: {
url: process.env.URL,
2024-02-21 00:30:14 +01:00
defaultLocale: 'fr',
name: 'Mahée Auffret',
description: 'Portfolio de l\'artiste-peintre basée à Rennes Mahée Auffret'
},
directus: {
url: process.env.DIRECTUS_URL,
2024-02-21 00:30:14 +01:00
token: process.env.DIRECTUS_API_TOKEN
},
image: {
domains: [ `${process.env.DIRECTUS_URL}` ],
2024-02-21 00:30:14 +01:00
format: ['webp'],
}
})