Generate a template registry for Glint.
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
Generate a template registry at a custom path.
npx @bertdeblock/generate-template-registry@latest --path="app/glint/template-registry.ts"
Generate a template registry including curly component invocations. By default, curly component invocations are not included.
npx @bertdeblock/generate-template-registry@latest --include-curly-component-invocations
- 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