Skip to content

Commit

Permalink
chore: update getting started instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
friedjoff authored Nov 5, 2023
1 parent 317ec22 commit fbb7815
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Note: currently only Next.js pages router is fully supported.
yarn add --dev next-nginx-routes
```

Make sure [`output: "export"`](https://nextjs.org/docs/pages/building-your-application/deploying/static-exports#configuration) is configured in your `next.config.js` file.

### Generate Nginx configuration file

Add next-nginx-routes to your build script:
Expand Down

0 comments on commit fbb7815

Please sign in to comment.