From 69973f67d1cfc93ff51e8df32cbef36afef4176e Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Sun, 4 Feb 2024 19:18:36 +0100 Subject: [PATCH] Add nuxt-seo --- nuxt.config.ts | 16 ++++++++++------ package.json | 5 +++-- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 6ab3264..ee0c87e 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -5,7 +5,12 @@ export default defineNuxtConfig({ '@/assets/css/main.scss', ], + app: { + pageTransition: { name: 'page', mode: 'out-in' }, + }, + modules: [ + '@nuxtjs/seo', '@nuxt/ui', 'nuxt-auth-utils', '@nuxthq/studio', @@ -40,17 +45,16 @@ export default defineNuxtConfig({ }, devtools: { - enabled: true, + enabled: false, timeline: { enabled: true, }, }, - image: { - domains: [ - 'avatars0.githubusercontent.com', - 'pbs.twimg.com', - ], + site: { + url: 'https://arthurdanjou.fr', + name: 'My portfolio', + description: 'Developer enjoying Cloud Infrastructure and Artificial Intelligence. Mathematics Student at Paris-Saclay', }, }) diff --git a/package.json b/package.json index 766ffe8..a50ebaf 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint:fix": "eslint . --fix" }, "dependencies": { - "@ksassnowski/vueclid": "^1.1.0", + "@ksassnowski/vueclid": "1.1.0", "@nuxt/content": "2.11.0", "@nuxt/ui": "2.13.0", "@pinia/nuxt": "0.5.1", @@ -35,8 +35,9 @@ "@iconify/json": "2.2.177", "@nuxt/eslint-config": "^0.2.0", "@nuxthq/studio": "1.0.10", + "@nuxtjs/seo": "^2.0.0-rc.7", "@pinia-plugin-persistedstate/nuxt": "1.2.0", - "@tailwindcss/typography": "^0.5.10", + "@tailwindcss/typography": "0.5.10", "@types/node": "20.11.16", "@vueuse/core": "10.7.2", "@vueuse/nuxt": "10.7.2",