feat: update nuxt configuration and add nuxt-studio module

- Refactored nuxt.config.ts to include 'nuxt-studio' module.
- Removed preview API configuration from content settings.
- Added GitHub repository configuration for Nuxt Studio.
- Introduced prerender settings for the application.

chore: update package dependencies

- Bumped versions of several @iconify-json packages.
- Updated @pinia/nuxt to version 0.11.3.
- Updated vue-router to version 4.6.3 and wrangler to 4.45.4.
- Updated vue-tsc to version 3.1.3.
- Added nuxt-studio as a dependency.

fix: update binary PDF resumes

- Updated English and French resume PDFs in the public/resumes directory.
This commit is contained in:
2025-11-12 19:00:09 +01:00
parent 8856e77ae1
commit d88fd80aee
6 changed files with 130 additions and 49 deletions

View File

@@ -19,17 +19,7 @@ export default defineNuxtConfig({
css: ['~/assets/css/main.css'],
// Nuxt Modules
modules: [
'@nuxt/ui',
'@nuxtjs/seo',
'@nuxt/content',
'@vueuse/nuxt',
'@nuxtjs/google-fonts',
'@nuxt/image',
'@vueuse/motion/nuxt',
'@pinia/nuxt',
'@nuxtjs/i18n',
],
modules: ['@nuxt/ui', '@nuxtjs/seo', '@nuxt/content', '@vueuse/nuxt', '@nuxtjs/google-fonts', '@nuxt/image', '@vueuse/motion/nuxt', '@pinia/nuxt', '@nuxtjs/i18n', 'nuxt-studio'],
ogImage: {
enabled: false,
@@ -68,9 +58,6 @@ export default defineNuxtConfig({
// Nuxt Content
content: {
preview: {
api: 'https://api.nuxt.studio',
},
build: {
markdown: {
highlight: {
@@ -107,6 +94,17 @@ export default defineNuxtConfig({
timeline: { enabled: true },
},
// Nuxt Studio
studio: {
// GitHub repository configuration (owner and repo are required)
repository: {
provider: 'github', // only GitHub is currently supported
owner: 'arthurdanjou', // your GitHub username or organization
repo: 'artchat', // your repository name
branch: 'main', // the branch to commit to (default: main)
},
},
// Nuxt I18N
i18n: {
strategy: 'no_prefix',
@@ -159,6 +157,10 @@ export default defineNuxtConfig({
deployConfig: true,
nodeCompat: true,
},
prerender: {
routes: ['/'],
crawlLinks: true,
},
},
// Nuxt Env