Contributing to Riot Examples
December 8, 2023 ยท View on GitHub
If you'd like to contribute an example or bug fix, feel free to send us a pull request. Please make sure to search the issue tracker first for duplicates.
Make it testable
Create tests for your examples. This is so we can ensure they don't break when future changes are made and it also helps people to understand the processes within.
Script tags and external libraries
Please make sure to use always the latest riot releases:
For all the other libraries use unpkg.com
Folder structure
Please follow the standard set by the other examples by using this folder structure suggestion:
- example-tag.css
- example-tag.js
- example-tag.tag
- index.html
- README.md
- package.json
- test/
Not all of these are required, it will differ between examples.