This project demonstrates a Storybook running in standalone mode with a Rails backend that generates Stories based on ActionView::Component previews.
Use your favorite Ruby version manager to install 2.5.5
bundle install
yarn
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 storybook_preview endpoint