You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not work and throws the following error:
It does work when using a JS file to overwrite the component: my-app/app/components/index.js
// I have lost all my Glint stuff, because it's a JS file :'(importtemplateOnlyComponentfrom'@ember/component/template-only';constLoadingComponent=templateOnlyComponent();exportdefaultLoadingComponent;
my-app/app/components/index.hbs
<div>Whatever</div>
The text was updated successfully, but these errors were encountered:
just the same, v1 addons should be migrated to v2 -- which means that the problem shouldn't exist. (but please let me know if you run in to any goofiness)
re: ember-cli-typescript, it likely won't be updated, and folks should migrate away 😅
(the library can't be used in v2 addons, and isn't needed at all in apps)
I have the following example component in my addon:
my-addon/addon/components/example/index.ts
Then in my app I completely replace it with a new template AND "backing class" with some Glint because why not:
my-app/app/components/index.ts
my-app/app/components/index.hbs
This does not work and throws the following error:
It does work when using a JS file to overwrite the component:
my-app/app/components/index.js
my-app/app/components/index.hbs
The text was updated successfully, but these errors were encountered: