Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
backspace opened this issue Feb 5, 2018 · 0 comments
Open

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

backspace opened this issue Feb 5, 2018 · 0 comments

Comments

@backspace
Copy link

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 [email protected] 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant