Thanks for being willing to contirbute!
Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub
- Fork and clone the repo
$ npm installto install dependencies$ npm start validateto validate you've got it working- Create a branch for your PR
Is the example just a code snippet or is it a full fledged project? If it is a code snippet, go ahead and add it to our examples readme file If it is an example that requires you to create a new, albeit, mini-project, here are the steps to add it.
- Create a new folder inside our
examplesfolder. - Name it to describe what your example is about.
- You can create a new
npm/yarnsetup inside this folder. - Don't forget to add a
readme.mdinside your example folder. - Now add the commands to validate and build your example project to our
package-scripts. - Navigate to the
package-scripts.jsand theexamplescommand. - Add a new command specific to your example folder.
- Here, you can provide the scripts that need to be run to validate and build your folder. Use the awesome
nps, which has a ton of utilities to help you. - Run
npm start examplesto make sure all your setup is correct.
You should have a great example running on glamorous by now. Go ahead and submit a PR!