Template Imports
When adding Glint to an Ember project with ember-template-imports
installed, there are a few additional things to consider.
Installation
In addition to the @glint/core
, @glint/template
and @glint/environment-ember-loose
packages, you also need to install the @glint/environment-ember-template-imports
package and configure it in tsconfig.json
under glint.environment
:
tsconfig.json
Template-Only Components
When using ember-template-imports
, you can declare the type of a <template>
component using the TOC
type:
Last updated