Skip to content

takeshikriang/storybook-twig-example

Repository files navigation

Storybook TWIG example

An example how to set up a Storybook TWIG project.

NOTE: This project uses Tailwind CSS framework for styling.

Getting started

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

How to build

Simply run the following command to build it

$ yarn build-storybook

Example Docker

NOTE: not for production use

$ docker-compose up -d --build

Open http://localhost/?path=/story/card--default in your browser

License

MIT