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-bundle
Initialize Storybook in your project:
bin/console storybook:init
This will create basic configuration files and add required dependencies to your package.json
.
Install new dependencies with:
npm install
Ensure 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 storybook
MIT License (MIT): see LICENSE.