mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 14:28:34 +08:00
7caaee27cc
```sh npx ember-holy-futuristic-template-namespacing-batman-codemod ensure-template-only-has-backing-class ``` We would like to colocate templates but, when no backing class exists, colocated templates extend `templateOnly` instead of `Ember.Component`. Generating the backing class helps avoid any behavioral changes. We can also run the `tagless-ember-components-codemod` to put the tags into the templates at which point we could convert these back to template-only components. |
||
---|---|---|
.. | ||
adapters | ||
components | ||
controllers | ||
helpers | ||
mixins | ||
models | ||
routes | ||
services | ||
templates |