Skip to content

cratebind/react-recipes

Repository files navigation

Cratebind React Recipes

Documentation

React Recipes and Examples For Cratebind

TODO:

  • Finish README
  • Add contributing guide

Getting Started

To run locally, clone the repo and run:

yarn install
yarn start

And go to http://localhost:8000/

Adding Components

Component pages are created from the src/examples directory using markdown files. You can use src/examples/DynamicFields.md as a template.

To create a new example:

  1. Create a new markdown file in src/examples, like MyExample.md
  2. Give it a unique path at the top of the markdown file, similar to how DynamicFields.md is set up
  3. Add that path to src/data/docs.yml, either in an existing section or a new section

Author

👤 Cratebind