You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.4 KiB
69 lines
1.4 KiB
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2024-11-01',
|
|
devtools: { enabled: true },
|
|
|
|
css: [
|
|
'~/assets/css/theme.css',
|
|
'~/assets/css/common.css',
|
|
'~/assets/css/header.css',
|
|
'~/assets/css/footer.css',
|
|
'~/assets/css/pages/home.css',
|
|
'~/assets/css/pages/projects.css',
|
|
'~/assets/css/pages/about.css',
|
|
'~/assets/css/pages/cv.css'
|
|
],
|
|
|
|
app: {
|
|
head: {
|
|
title: 'Portfolio',
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ name: 'description', content: 'Portfolio professionnel' }
|
|
],
|
|
link: [
|
|
{
|
|
rel: 'icon',
|
|
type: 'image/x-icon',
|
|
href: '/favicon.ico'
|
|
}
|
|
],
|
|
},
|
|
baseURL: process.env.BASE_PATH || '',
|
|
},
|
|
|
|
modules: ['@nuxt/image'],
|
|
|
|
plugins: [
|
|
'~/plugins/router.ts',
|
|
'~/plugins/theme.ts'
|
|
],
|
|
|
|
image: {
|
|
provider: 'ipx',
|
|
ssr: false,
|
|
quality: 80,
|
|
format: ['webp', 'jpg', 'png', 'jpeg'],
|
|
screens: {
|
|
xs: 320,
|
|
sm: 640,
|
|
md: 768,
|
|
lg: 1024,
|
|
xl: 1280,
|
|
xxl: 1536,
|
|
},
|
|
dir: 'public',
|
|
domains: [],
|
|
alias: {},
|
|
ipx: {
|
|
maxAge: 60 * 60 * 24 * 30
|
|
}
|
|
},
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
basePath: process.env.BASE_PATH || ''
|
|
}
|
|
}
|
|
}) |