Thanks again Arkshine, I created my first component using discourse_theme now ![]()
For anyone finding this thread, I basically just had to run a few commands:
gem install discourse_theme
npm install -g yarn
discourse_theme new <component-name>
then edit the file: javascripts/discourse/api-initializers/.js
upload it to github, and you can install / share.
Mine is here.
It appears to have a feature where you can automatically update the version on your server as well, as you modify files. Sounds good, and useful as I get into more complex components.
Cheers