Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashur/eleventy-nunjucks-storybook
Use macro-based Nunjucks components with Eleventy and Storybook.
https://github.com/ashur/eleventy-nunjucks-storybook
eleventy nunjucks storybook
Last synced: about 1 month ago
JSON representation
Use macro-based Nunjucks components with Eleventy and Storybook.
- Host: GitHub
- URL: https://github.com/ashur/eleventy-nunjucks-storybook
- Owner: ashur
- Created: 2022-01-21T21:24:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-24T15:52:27.000Z (almost 3 years ago)
- Last Synced: 2024-09-27T07:43:51.439Z (about 2 months ago)
- Topics: eleventy, nunjucks, storybook
- Language: JavaScript
- Homepage: https://eleventy-nunjucks-storybook.netlify.app/
- Size: 499 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eleventy-nunjucks-storybook
Use macro-based Nunjucks components with Eleventy and Storybook.
## Links
- See [Using Storybook with Nunjucks components in Eleventy][blog] 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][sb][blog]: https://multiline.co/mment/2022/01/eleventy-storybook/
[sb]: https://eleventy-nunjucks-storybook-demo.netlify.app## Installation
### Requirements
- [Node and NPM](https://nodejs.org)
### Steps
1. Clone this repo
1. Run `npm install`## Usage
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
```