From 416829420ec22642e2e4ef605f624d8c3c5bc253 Mon Sep 17 00:00:00 2001 From: br0kenpixel <23280129+br0kenpixel@users.noreply.github.com> Date: Mon, 20 Oct 2025 19:47:12 +0200 Subject: [PATCH] refactor: add nitro configuration for prerendering static content --- frontend/nuxt.config.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index 0b38177..1604266 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -11,5 +11,12 @@ export default defineNuxtConfig({ modules: [ '@nuxt/image', // na obrázky 'vuetify-nuxt-module' // Vuetify - ] + ], + + nitro: { + // statický obsah vyrenderujeme vopred + prerender: { + routes: ["/", "/info/student", "/info/company", "/register", "/about"], + }, + }, }); \ No newline at end of file