mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
The previous implementation supported relative references to packages (e.g. `next/dist/compiled/react-dom`) and named exports (e.g. `next/dist/compiled/react-dom/client`), but not references to physical script files within packages (e.g. `next/dist/compiled/react-dom/cjs/react-dom-test-utils.production.js`). The latter are now handled by detecting when require.resolve returns a path and filename that ends with the exact string provided to the function.
Storybook for Next.js
See documentation for installation instructions, usage examples, APIs, and more.
Acknowledgements
This framework borrows heavily from these Storybook addons: