Skip to content

Commit

Permalink
docs(routing): add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux authored Apr 18, 2023
1 parent 46740e6 commit 30675d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/content/1.guide/3.routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ When `cache` option is set, handlers matching pattern will be automatically wrap

::code-group
```ts [nitro.config.ts]
import { defineNitroConfig } from 'nitropack'

export default defineNitroConfig({
routeRules: {
'/blog/**': { swr: true },
Expand Down

0 comments on commit 30675d4

Please sign in to comment.