Ember Route Template

screenshot of Ember Route Template

Overview

The Ember Route Template addon provides an adapter that allows the usage of <template> tags and components as route templates in Ember. This is particularly useful for apps that have adopted the <template> tag paradigm and want to avoid the inconvenience of authoring route templates in the old paradigm. The adapter generates a route template that invokes the <template> or component passed in with the appropriate arguments.

Features

  • Adapter that allows the usage of <template> tags and components as route templates
  • Access to {{@model}} and {{@controller}} arguments in the <template>
  • Support for plain function helpers and importing components
  • Ability to convert components into route templates
  • Eliminates the need for controllers, except for query params

Summary

The Ember Route Template addon provides a solution for using <template> tags and components as route templates in Ember. It bridges the gap between the <template> tag paradigm and the current route template format in Ember. With this addon, you can leverage the full feature set of .gjs in routes, eliminate the need for controllers in most cases, and improve the development experience for apps that have adopted the <template> tag paradigm.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.