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 GitHub
parent 201323d22c
commit 2ed819ab61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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