This project demonstrates Storybook Server running using Stories and ViewComponents generated by ViewComponent::Storybook.
Use your favorite Ruby version manager to install 2.7.2
bundle install
yarn
rake view_component_storybook:write_stories_json
rails s
This starts a Rails dev server on port 3000.
To view the stories in the storybook UI:
yarn storybook
This runs the Storybook dev server loading stories from the Rails endpoint