Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Steven <steven@ceriously.com>
  • Loading branch information
leerob and styfle committed Oct 26, 2021
1 parent a39ff3d commit 54bde35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/middleware.md
Expand Up @@ -8,15 +8,15 @@ Middleware enables you to use code over configuration. This gives you full flexi

## Usage

1. Install the latest version of `next`:
1. Install the latest version of Next.js:

```jsx
npm install next@latest
```

2. Next, create a `_middleware.ts` file under your `/pages` directory.
2. Then, create a `_middleware.ts` file under your `/pages` directory.

3. Finally, create a function in the `_middleware.ts` file.
3. Finally, export a middleware function from the `_middleware.ts` file.

```jsx
// pages/_middleware.ts
Expand Down

0 comments on commit 54bde35

Please sign in to comment.