- This repo is no longer maintained.
- A different solution has been found to using Parcel to bundle CSS/JS, and using Storybook HTML.
It provides the standard Storybook UI, but loads story content from another Storybook repo (which uses Parcel to bundle CSS/JS dependencies).
- From the other Storybook/Parcel repo, start Storybook
npm run storybook
. - Then start this repo's Storybook instance
npm run storybook:preview
. - Accept the localhost port change with
Y
if prompted.
npm run storybook
instead of using:preview
as above.- This is the new composition feature in V6, which leverages the
refs
property inmain.js
.
- Content from the other Storybook/Parcel repo cannot be loaded in preview mode as it's no longer supported in Storybook V6.
- Content from the other Storybook/Parcel repo cannot be loaded via composition. See this composition bug.