A collection of examples to show how to run libraries and frameworks on Reddit's Developer Platform.
- Fork the repository and make a branch
- Duplicate the folder an example that looks close to what you would like to add
- Rename the folder to be the name of what you are trying to add (i.e. trpc)
- Rename the
devvit.json
file to{LIBRARY_NAME}-demo-x
- Install dependencies and
npm run deploy
(make sure you are in the folder for what you want to contribute) npm run deploy
- Add a menu item with the name of the example you want to show off
npm run dev
- Make the updates to make sure it works
- Commit your changes
- Pull request your branch into the examples