This bundle provides a basic integration for Storybook into a Symfony application using Twig Components.
DISCLAIMER:
This bundle is under active development. Some features may not work as expected and the current documentation may be incomplete.
- Installation
- Getting Started
- Configuration
- Storybook Features
- Stories
- Addons
- Args Processors
- Component Mock
- Static Build
To install the bundle into your project run:
composer require sensiolabs/storybook-bundleInitialize Storybook in your project:
bin/console storybook:initThis will create basic configuration files and add required dependencies to your package.json.
Install new dependencies with:
npm installEnsure your Symfony server is running on the same address defined in your main.ts configuration file. Then run the Storybook dev server with:
npm run storybookMIT License (MIT): see LICENSE.