I have set up Discourse on my dev machine however when I switch off JS in Safari I just get a blank page - is this normal? Is there a better way to test plugins with JS off?
Discourse front-end is based on EmberJS and is a fully JS app.
JSON between server and front.
For tests - API is really rich - https://docs.discourse.org/
Probably all things that you can do manually can be done with API.
Are you using Ember CLI for development? To test out changes to server-side ERB templates, you will need to bypass that and go straight to the Rails server.
NO_EMBER_CLI=1 rails s
And then visit localhost:3000
1 Like