npm installCustomize the Symfony application in ./app to fit your needs.
The symfony application can be easily tested by using the built-in PHP server.
cd app && \
composer install --no-dev -o && \
php -S localhost:8888 -t publicNow visiting https://localhost:8888 should yield the Symfony front page. Your twig controller should be accessible at https://localhost:8888/twig/{component_id}.
npm run watchThis will bundle everything necessary to run storybook and start on port 8080.
This is just a plain storybook instance; all customization points work!
npm run buildThis will bundle everything necessary to run storybook and write it to the
./storybook-static directory. This directory can then be deployed anywhere;
see the github action in this repository for a working example of Github Pages.
All the power of Twig, but none of the infra headaches!