diff --git a/nuxt.config.ts b/nuxt.config.ts index 5a5fce1..ac88307 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,28 +1,33 @@ export default defineNuxtConfig({ - css: [ - 'minireset.css/minireset.min.css', - 'aos/dist/aos.css', - '~/assets/styles/_fonts.scss', - '~/assets/styles/_animations.scss', - ], - postcss: { - plugins: { - 'autoprefixer': {}, - }, - }, - runtimeConfig: { - mailjetApiPrivate: process.env.MJ_APIKEY_PRIVATE, - mailjetApiPublic: process.env.MJ_APIKEY_PUBLIC, - }, - vite: { - css: { - preprocessorOptions: { - scss: { - api: 'modern', - additionalData: '@use "@/assets/styles/main.scss" as *;', // Mandatory for global SASS variables and mixins import - }, - }, - }, - }, - compatibilityDate: '2024-12-20', + compatibilityDate: '2024-12-20', + css: [ + 'minireset.css/minireset.min.css', + 'aos/dist/aos.css', + '~/assets/styles/_fonts.scss', + '~/assets/styles/_animations.scss', + ], + modules: ['@nuxtjs/sitemap'], + postcss: { + plugins: { + 'autoprefixer': {}, + }, + }, + runtimeConfig: { + mailjetApiPrivate: process.env.MJ_APIKEY_PRIVATE, + mailjetApiPublic: process.env.MJ_APIKEY_PUBLIC, + }, + site: { + url: 'https://paulnicoue.com', + name: 'Paul Nicoué - Intégrateur et développeur web', + }, + vite: { + css: { + preprocessorOptions: { + scss: { + api: 'modern', + additionalData: '@use "@/assets/styles/main.scss" as *;', // Mandatory for global SASS variables and mixins import + }, + }, + }, + }, }) diff --git a/package-lock.json b/package-lock.json index 063d365..e772de8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,6 +6,7 @@ "": { "hasInstallScript": true, "devDependencies": { + "@nuxtjs/sitemap": "^7.0.0", "aos": "^2.3.4", "click-outside-vue3": "^4.0.1", "minireset.css": "^0.0.7", @@ -1625,6 +1626,47 @@ "vue": "^3.3.4" } }, + "node_modules/@nuxtjs/sitemap": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@nuxtjs/sitemap/-/sitemap-7.0.0.tgz", + "integrity": "sha512-/wCP927/Bcfdbw/iVeD5+FOuogS+U2zuwVg+C1vyXqV9hVj5Br1Jy2pjkcerfXPK/REpp+ASBOmrcVWuHcewcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nuxt/devtools-kit": "^1.6.1", + "@nuxt/kit": "^3.14.1592", + "chalk": "^5.3.0", + "defu": "^6.1.4", + "h3-compression": "^0.3.2", + "nuxt-site-config": "^3.0.4", + "ofetch": "^1.4.1", + "pathe": "^1.1.2", + "pkg-types": "^1.2.1", + "radix3": "^1.1.2", + "semver": "^7.6.3", + "sirv": "^3.0.0", + "ufo": "^1.5.4" + }, + "engines": { + "node": ">=18.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/harlan-zw" + } + }, + "node_modules/@nuxtjs/sitemap/node_modules/chalk": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", + "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/@parcel/watcher": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.0.tgz", @@ -5292,6 +5334,19 @@ "unenv": "^1.10.0" } }, + "node_modules/h3-compression": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/h3-compression/-/h3-compression-0.3.2.tgz", + "integrity": "sha512-B+yCKyDRnO0BXSfjAP4tCXJgJwmnKp3GyH5Yh66mY9KuOCrrGQSPk/gBFG2TgH7OyB/6mvqNZ1X0XNVuy0qRsw==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/codedredd" + }, + "peerDependencies": { + "h3": "^1.6.0" + } + }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -6790,6 +6845,45 @@ } } }, + "node_modules/nuxt-site-config": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nuxt-site-config/-/nuxt-site-config-3.0.6.tgz", + "integrity": "sha512-Mkyen81br21/nA2sxlLCOtJZ2L8sGL+YzxHlsVhLhEnC355CP2SwKVtYqJNJ4aYFbxeusqZXJFiD4KbveHhk0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nuxt/devtools-kit": "^1.6.0", + "@nuxt/kit": "^3.13.2", + "@nuxt/schema": "^3.13.2", + "nuxt-site-config-kit": "3.0.6", + "pathe": "^1.1.2", + "pkg-types": "^1.2.1", + "sirv": "^3.0.0", + "site-config-stack": "3.0.6", + "ufo": "^1.5.4" + }, + "funding": { + "url": "https://github.com/sponsors/harlan-zw" + } + }, + "node_modules/nuxt-site-config-kit": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nuxt-site-config-kit/-/nuxt-site-config-kit-3.0.6.tgz", + "integrity": "sha512-QBOFzAIo+D02avFQQ7gNlRyA372/PQlgW2IjL2nttvjfHapqYbvP6tIP55soL+1+D8YvF/bGZgS+vJtfQhroUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nuxt/kit": "^3.13.2", + "@nuxt/schema": "^3.13.2", + "pkg-types": "^1.2.1", + "site-config-stack": "3.0.6", + "std-env": "^3.7.0", + "ufo": "^1.5.4" + }, + "funding": { + "url": "https://github.com/sponsors/harlan-zw" + } + }, "node_modules/nypm": { "version": "0.3.12", "resolved": "https://registry.npmjs.org/nypm/-/nypm-0.3.12.tgz", @@ -8479,6 +8573,22 @@ "dev": true, "license": "MIT" }, + "node_modules/site-config-stack": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/site-config-stack/-/site-config-stack-3.0.6.tgz", + "integrity": "sha512-lqNI6Xvbwf4NBFqGJ1gNUIe12SOYw8YOuhrbl52JTVwBgtZZzXYh/ZQAwBHwXC7pxULvfIPUd8AJA35WtqU5YA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ufo": "^1.5.4" + }, + "funding": { + "url": "https://github.com/sponsors/harlan-zw" + }, + "peerDependencies": { + "vue": "^3" + } + }, "node_modules/slash": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", diff --git a/package.json b/package.json index 3153081..e250f1b 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "not dead" ], "devDependencies": { + "@nuxtjs/sitemap": "^7.0.0", "aos": "^2.3.4", "click-outside-vue3": "^4.0.1", "minireset.css": "^0.0.7",