Use macro-based Nunjucks components with Eleventy and Storybook.
- See Using Storybook with Nunjucks components in Eleventy for a detailed walkthrough on how this site’s copy of Storybook is configured to work with Nunjucks macros
- Want to see a working copy of this site’s Storybook? Head over to eleventy-nunjucks-storybook-demo.netlify.app
- Clone this repo
- Run
npm install
To build the site from source, run:
npm run build
To watch changes to the site contents and run a small local web server, run:
npm run serve
To run Storybook:
npm run storybook