Skip to content

Commit

Permalink
docs(routing): plugin (#6229)
Browse files Browse the repository at this point in the history
searchable term
  • Loading branch information
PatrickJS authored May 5, 2024
1 parent 5858fb8 commit a57a64c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ contributors:
- wtlin1228
- hamatoyogi
- jemsco
- patrickjs
updated_at: '2023-10-05T21:23:14Z'
created_at: '2023-03-20T23:45:13Z'
---
Expand Down Expand Up @@ -247,7 +248,7 @@ The above example would render the html:
</main>
```

## `plugin.ts`
## Plugin with `plugin@<name>.ts`

`plugin.ts` and `plugin@<name>.ts` files can be created in the root of the `src/routes` directory to handle any incoming request before even the root layout executes.

Expand Down

0 comments on commit a57a64c

Please sign in to comment.