# Can we use \`.gjs\` for route templates?

**URL:** <https://meta.discourse.org/t/can-we-use-gjs-for-route-templates/357046>\
**Category:** Development\
**Created:** [March 12, 2025, 11:39pm UTC](https://meta.discourse.org/t/can-we-use-gjs-for-route-templates/357046 "2025-03-12T23:39:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [March 13, 2025, 12:01am UTC](https://meta.discourse.org/t/can-we-use-gjs-for-route-templates/357046/2 "2025-03-13T00:01:29Z")

</div>

Yes you can use `.gjs` files for route templates in Discourse right now. In fact, we just converted a whole load of them today in core! Check out [https://github.com/discourse/discourse/tree/main/app/assets/javascripts/discourse/app/templates](https://github.com/discourse/discourse/tree/main/app/assets/javascripts/discourse/app/templates) for examples.

> [@bitmage](#):
>
> Someone made an adapter 2 years ago

“someone” is Discourse - we sponsored the development of ember-route-template, and it’s in our GitHub organisation 😉

We’re not on the latest Ember 6.x yet, but we use that addon to enable the functionality.

---

_[View the full topic](https://meta.discourse.org/t/can-we-use-gjs-for-route-templates/357046)._
