From 2ed819ab613f864aa1ef36289b43dfb89176165a Mon Sep 17 00:00:00 2001 From: Nishant Aanjaney Jalan Date: Sun, 22 Dec 2024 16:54:59 +0000 Subject: [PATCH] docs: fix filename for prerendering page (#30333) --- docs/1.getting-started/9.prerendering.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/1.getting-started/9.prerendering.md b/docs/1.getting-started/9.prerendering.md index 5644911820..7f72b4bc9c 100644 --- a/docs/1.getting-started/9.prerendering.md +++ b/docs/1.getting-started/9.prerendering.md @@ -159,7 +159,7 @@ prerenderRoutes(["/some/other/url"]); This is called before prerendering for additional routes to be registered. -```ts [nitro.config.ts] +```ts [nuxt.config.ts] export default defineNuxtConfig({ hooks: { async "prerender:routes"(ctx) { @@ -178,7 +178,7 @@ export default defineNuxtConfig({ This is called for each route during prerendering. You can use this for fine grained handling of each route that gets prerendered. -```ts [nitro.config.ts] +```ts [nuxt.config.ts] export default defineNuxtConfig({ nitro: { hooks: {