# 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:** 13

<div class="post-metadata">

**Author:** ![bitmage](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bitmage/32/389881_2.png) [@bitmage](https://meta.discourse.org/u/bitmage)\
**Post date:** [March 17, 2025, 6:38pm UTC](https://meta.discourse.org/t/can-we-use-gjs-for-route-templates/357046/13 "2025-03-17T18:38:31Z")

</div>

I think my go-to for this is just including styles directly in the glimmer component for the page. That’s the only thing I’ve tried that works consistently. And then I don’t have to muck with the conditional CSS rules.

The CSS compilation pipeline has been giving me no end of troubles - I’m finding it’s really inconsistent about refreshing, applying rules… things disappear and I don’t know why. I don’t know if this has something to do with running in a Docker container? I’ve now dispensed with my symlink to the plugins folder entirely - I believe that was causing problems with the Docker volume mount and file watching/recompilation. I can probably create a minimal repo to reproduce these problems… I’ll see if I can do that and get it published in the next few days.

---

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