Skip to content

Commit

Permalink
fix(generator-component-tests): front matter spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
frankcalise committed Aug 1, 2024
1 parent 580c26a commit 47c0f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/recipes/GeneratorComponentTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Ignite will look in the `ignite/templates/*` directory for what templates to run

By default, Ignite provides a `ignite/templates/component/NAME.tsx.ejs` template for creating a component file.

- We use ejs and frontmatter to write our templates, you can read more about syntax [in the Ignite docs](https://github.com/infinitered/ignite/blob/master/docs/Generator-Templates.md).
- We use ejs and front matter to write our templates, you can read more about syntax [in the Ignite docs](https://github.com/infinitered/ignite/blob/master/docs/Generator-Templates.md).
- `NAME` in `ignite/templates/component/NAME.tsx.ejs` is replaced with the first argument passed to our generator. So `npx ignite-cli generate component Profile` would create `app/components/Profile.tsx`

## Customizing Component Generators
Expand Down

0 comments on commit 47c0f9f

Please sign in to comment.