Hey, I’m a bit pressed for time on this project so I can’t delve much into this, sorry, but thanks for all the work on it. I’m just getting started with using Glimmer via web components in a server-side-rendered application and I found that my components weren’t doing anything despite the app.js being included in the page.
I had Ember CLI 2.18.2 installed and ran this to generate and build the application:
ember new SegmentDisplay -b @glimmer/blueprint --web-component=segment-display
cd SegmentDisplay
ember build
I fiddled around with it for a while but could never get anything to render. I noticed that the version of Ember CLI in the blueprint package.json was 2.14, so I tried generating a new application like this:
npx ember-cli@2.14.0 new SegmentDisplay -b @glimmer/blueprint --web-component=segment-display
After building and copying the app.js file, it rendered the “Welcome to Glimmer!” message as expected! 🎉
There’s a lot here I know little about, so maybe it’s not a web component thing but instead a Glimmer thing, I’m not sure. I should have more time to look deeply into this in March.
Hey, I’m a bit pressed for time on this project so I can’t delve much into this, sorry, but thanks for all the work on it. I’m just getting started with using Glimmer via web components in a server-side-rendered application and I found that my components weren’t doing anything despite the
app.js
being included in the page.I had Ember CLI 2.18.2 installed and ran this to generate and build the application:
I fiddled around with it for a while but could never get anything to render. I noticed that the version of Ember CLI in the blueprint
package.json
was 2.14, so I tried generating a new application like this:After building and copying the
app.js
file, it rendered the “Welcome to Glimmer!” message as expected! 🎉There’s a lot here I know little about, so maybe it’s not a web component thing but instead a Glimmer thing, I’m not sure. I should have more time to look deeply into this in March.