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.
46 lines
1.1 KiB
46 lines
1.1 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' }
|
|
],
|
|
},
|
|
cdnURL: process.env.NODE_ENV === 'production' ? '/containers/matheothierry-portfolio_nuxt/' : '/'
|
|
},
|
|
|
|
modules: ['@nuxt/image'],
|
|
|
|
image: {
|
|
quality: 80,
|
|
format: ['webp'],
|
|
screens: {
|
|
xs: 320,
|
|
sm: 640,
|
|
md: 768,
|
|
lg: 1024,
|
|
xl: 1280,
|
|
xxl: 1536,
|
|
}
|
|
}
|
|
}) |