Skip to content

Maybe doesn’t render when built by Ember CLI 2.18.2 #27

@backspace

Description

@backspace

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions