@bertdeblock/generate-template-registry
v0.2.1
Published
Generate a template registry for Glint.
Downloads
16
Readme
@bertdeblock/generate-template-registry
Generate a template registry for Glint.
Usage
cd your/app-or-addon/path
and
npx @bertdeblock/generate-template-registry@latest
or
pnpx @bertdeblock/generate-template-registry@latest
or
bunx @bertdeblock/generate-template-registry@latest
Options
--path
Generate a template registry at a custom path.
npx @bertdeblock/generate-template-registry@latest --path="app/glint/template-registry.ts"
Caveats
- If your app or addon has components, helpers or modifiers with the same name, duplicate template registry entries will be generated, which will need to be fixed manually