Skip to content

Commit

Permalink
update readme with usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nirtamir2 committed Aug 10, 2023
1 parent 7448fed commit 4d8c0a5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/next-static-paths/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ $ yarn next-static-paths
$ npx next-static-paths
```

It's recommended to configure scripts in your `package.json` too

```json
{
"dev": "next-static-paths --pages-dir ./src --output . && next dev",
"generate-routes": "next-static-paths --pages-dir ./src --output . && :"
}
```


### `TypedLink` component

```tsx
Expand Down

0 comments on commit 4d8c0a5

Please sign in to comment.