docs: update code to show how to enable typedPages (#24436)

This commit is contained in:
Kostis Maninakis 2023-11-23 21:48:06 +01:00 committed by GitHub
parent b8bfa60ece
commit 36aee52011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,7 +336,7 @@ Enable the new experimental typed router using [`unplugin-vue-router`](https://g
```ts [nuxt.config.ts] ```ts [nuxt.config.ts]
export defineNuxtConfig({ export defineNuxtConfig({
experimental: { experimental: {
typedPages: false typedPages: true
} }
}) })
``` ```