From 9d686e2af24a139745683963c643f6acb9466c91 Mon Sep 17 00:00:00 2001 From: webfussel Date: Mon, 21 Apr 2025 09:56:22 +0200 Subject: [PATCH] add: ssg Added ssg config --- nuxt.config.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index cef3714..4883d99 100755 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -6,6 +6,22 @@ export default defineNuxtConfig({ compatibilityVersion: 4, }, + nitro: { + prerender: { + routes: [ + '/', + '/imprint', + '/privacy', + ] + } + }, + + routeRules: { + '/': { prerender: true }, + '/imprint': { prerender: true }, + '/privacy': { prerender: true }, + }, + modules: [ '@nuxt/icon', ],