docs: fix filename for prerendering page (#30333)

This commit is contained in:
Nishant Aanjaney Jalan 2024-12-22 16:54:59 +00:00 committed by Daniel Roe
parent 58b6b72fc3
commit 93ac7fa4c8
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -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: {