- Ensure you have node version 14 installed (suggestion: v14.18.1).
- Ensure if you are using Windows to use the Windows Subsystem for Linux (WSL).
- Run
./bootstrap.shto install the dependencies, and get the repo ready to be developed on. - Run
yarn startinside of thecodedirectory to start the development server.
The monorepo has a script that generates Storybook reproductions based on configurations set in the scripts/next-repro-generators/repro-config.yml file. This makes it possible to quickly bootstrap examples with and without Storybook, for given configurations (e.g. CRA, Angular, Vue, etc.)
To do so:
- Check the
scripts/next-repro-generators/repro-config.ymlif you want to see what will be generated - Run
./generate-repros.sh - Check the result in the
reprosdirectory
For further advice on how to contribute, please refer to our NEW contributing guide on the Storybook website.