mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Update code/frameworks/nextjs/README.md
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
This commit is contained in:
parent
15bb8f2d8d
commit
66f99457b7
@ -180,7 +180,7 @@ Please consider, that [next/navigation](https://beta.nextjs.org/docs/upgrade-gui
|
||||
|
||||
#### Set `nextAppDirectory` to `app`
|
||||
|
||||
If your story imports components, which uses `next/navigation`, you need to set the parameter `nextAppDirectory` to `true` in your Story:
|
||||
If your story imports components that use `next/navigation`, you need to set the parameter `nextAppDirectory` to `true` in your Story:
|
||||
|
||||
```js
|
||||
// SomeComponentThatUsesTheRouter.stories.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user