@@ -96,7 +96,7 @@ in with the `@model` and `@controller` arguments appropriately set.
9696The hello world example from above is similar to first creating the component
9797in the usual global location in ` app/components ` :
9898
99- ``` gjs
99+ ``` glimmer-js
100100// app/components/hello-world.gjs
101101<template>Hello world!</template>
102102```
@@ -120,7 +120,7 @@ named exports, if you need to access them from elsewhere.
120120
121121TypeScript and Glint is fully supported, just use the ` .gts ` extension instead.
122122
123- ``` gts
123+ ``` glimmer-ts
124124// app/templates/my-route.gts
125125import RoutableComponentRoute from "ember-routable-component";
126126
@@ -139,7 +139,7 @@ export default class ModelWorksRoute extends Route<MyController>(
139139
140140For Class-based components you can use the RoutableComponent:
141141
142- ``` gts
142+ ``` glimmer-ts
143143// app/templates/my-route.gts
144144import RoutableComponentRoute, { RoutableComponent } from "ember-routable-component";
145145import Component from "@glimmer/component";
@@ -158,7 +158,7 @@ export default RoutableComponentRoute(MyRouteComponent);
158158```
159159
160160It can also be used without any type
161- ``` gts
161+ ``` glimmer-ts
162162// app/templates/my-route.gts
163163import RoutableComponentRoute, { RoutableComponent } from "ember-routable-component";
164164import Component from "@glimmer/component";
@@ -175,7 +175,7 @@ export default RoutableComponentRoute(MyRouteComponent);
175175
176176If you need custom functionality in routes:
177177
178- ``` gts
178+ ``` glimmer-ts
179179// app/templates/my-route.gts
180180import RoutableComponentRoute from "ember-routable-component";
181181import Component from "@glimmer/component";
0 commit comments