Package a Discourse plugin as a gem

That’s correct, you need to handle the front end JS framework stuff separately

Whilst technically accurate, I wouldn’t agree that title would be better as that would put some of the right people off from reading the Topic: most people who write plugins might not identify them as “Discourse specific Rails Engines”

I actually more regularly separate my code into back end plugins and front end theme components now so I can iterate the front end stuff very quickly on deployments to staging and production environments.

3 Likes