ember-set-body-classThis addon lets you set classes on the body like:
Whenever the above template is rendered, the
<body>tag will have class
helloadded to it. When it's destroyed, the class is removed.
- Ember.js v3.10 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
This works in both browser and Fastboot. Fastboot support requires at least Fastboot 1.1.1 (which incorporated the work done in https://github.com/ember-fastboot/fastboot/pull/171).
ember install ember-set-body-class