Introducing Template Imports
summary
Template imports replace filesystem-based resolution with explicit imports in templates, shipping as a low-level API in 3.25+ and already available via an addon; two concrete formats exist: HBS helper and .gjs file; templates can import and even define helpers, modifiers, and components in the same file so you can colocate helpers modifiers components; this yields better editor integration, simpler internals, smaller runtime surface, and improved bundling with Embroider.
AI-written summary · about
chapters (5)
- 0:00Introduction
- 0:43What are Template Imports
- 2:30What do Template Imports look like
- 3:16Lowlevel API
- 4:37Templates in practice








