# Handling the 'component-template-resolving' deprecation

**URL:** https://meta.discourse.org/t/handling-the-component-template-resolving-deprecation/370019
**Category:** Development
**Tags:** dev-news
**Created:** [June 13, 2025, 8:37am UTC](https://meta.discourse.org/t/handling-the-component-template-resolving-deprecation/370019 "2025-06-13T08:37:56Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [June 13, 2025, 8:37am UTC](https://meta.discourse.org/t/handling-the-component-template-resolving-deprecation/370019/1 "2025-06-13T08:37:57Z")

</div>

As part of our preparation for the Ember 6 upgrade, we have now enabled warning banners for the “component template resolving” deprecation.

 ![SCR-20250613-iunc](https://global.discourse-cdn.com/meta/original/4X/7/8/d/78dcdae1898d2d3e922bb6f5b2ea3886aa3e7c8a.png)

To find more information about the issue, open up the browser developer console (F12), and look for a message including `[deprecation id: component-template-resolving]`

 ![SCR-20250613-iutc](https://global.discourse-cdn.com/meta/original/4X/c/a/e/cae466f7fc184792fc8450efb91a69a620749d86.png)

This message will include the name of the affected component (in this case `components/my-component`), which should help you to isolate the problem to a certain theme/plugin.

If the message refers to a `.hbs` component template in a theme/plugin’s `templates/components/` directory, then you should move the file from `/templates/components` to `/components`, so that it’s “colocated” with the component `.js` file.

If the message refers to a component template which has been defined in a theme via a `<script type="x-handlebars">` tag, then check out this topic:

> [@Modernizing inline script tags for templates & JS API](https://meta.discourse.org/t/modernizing-inline-script-tags-for-templates-js-api/366482):
>
> Using \<script type='text/discourse-plugin\> or \<script type='text/x-handlebars'\> in themes is now deprecated. Any use of these tags in themes should be updated according to the instructions below. Regular \<script\> and \<script type='text/javascript'\> are unaffected by this change. Timeline These are rough estimates, subject to change May 2025 - console deprecation messages enabled July 2025 - admin warning banners enabled Late September 2025 March 2026 - removal of feature Converting…

For more information on the deprecation, check out the guide on the Ember Deprecations site:

> **[Component Template Resolving | Ember.js - Deprecations](https://deprecations.emberjs.com/id/component-template-resolving/)**

For developers with a large number of themes/plugins, you may be interested in [our mass-pr script](https://github.com/discourse/mass-pr/blob/main/scripts/colocate-templates.rb) to colocate templates.

---

_[View the full topic](https://meta.discourse.org/t/handling-the-component-template-resolving-deprecation/370019)._
