An example how to set up a Storybook TWIG project.
NOTE: This project uses Tailwind CSS framework for styling.
Clone the repo and install dependencies
$ git clone [email protected]:takeshikriang/storybook-twig-example.git
$ cd storybook-twig-example
$ yarn install
Start Storybook
$ yarn storybook
Open http://localhost:6006
in your browser
Simply run the following command to build it
$ yarn build-storybook
NOTE: not for production use
$ docker-compose up -d --build
Open http://localhost/?path=/story/card--default
in your browser