Symlink a SPA created by CRA to use in a separate Storybook project.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
single-page-application-storybook
single-page-application
README.md

README.md

Linked Storybook

Symlink a SPA created by CRA to use in a separate Storybook project.

Setup

Create the symlink for the SPA

cd single-page-application
npm i
npm link

Link the SPA

cd single-page-application-storybook
npm link single-page-application
npm i

Finally, run the storybook.