Skip to content

Commit 020308e

Browse files
author
ignace
committed
fix: typo
1 parent 9e40721 commit 020308e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/release/components/template-tag-format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ import Avatar from './messages/avatar';
132132

133133
Importing helpers and modifiers from your own app also follows the same principle of using standard JavaScript import syntax. Instead of importing from `app/components`, the path to import from is `app/helpers` and `app/modifiers` respectively.
134134

135-
Prior to the template tag format, helpers and modifiers were referenced based on their name in the "kebal-case" convention. For example, a `randomNumber` function as helper would be referenced as `{{random-number}}` in a template. In the new way of doing things, ES import standards and conventions are used instead. This means that the helper is referenced using the name it is exported as, which is `randomNumber` in this case.
135+
Prior to the template tag format, helpers and modifiers were referenced based on their name in the "kebab-case" convention. For example, a `randomNumber` function as helper would be referenced as `{{random-number}}` in a template. In the new way of doing things, ES import standards and conventions are used instead. This means that the helper is referenced using the name it is exported as, which is `randomNumber` in this case.
136136

137137
```text {data-filename="app/components/random-number.gjs"}
138138
import randomNumber from '../helpers/random-number';

0 commit comments

Comments
 (0)