Closed t-sauer closed 7 years ago
Workaround:
You'll find that there's a prepended dash for your top-level component in the
src/ui/components
folder. Remove this leading dash in the folder name, and in the call to app.renderComponent
in src/index.js
and you should be good to go.
update It seems that having a dash in component names may be mandatory. That being said, the fix I mentioned above seems to work (perhaps by happenstance).
It could also be fixed on blueprint level. When the app's name doesn't contain a dash, it could add -app
suffix to component name and leave the rest as is. It's only a proposition though.
Yes, we discussed this a bit yesterday. I believe the consensus was to add -app
suffix as mentioned by @michalsnik.
Steps to reproduce:
ember new playground -b @glimmer/blueprint
cd playground
ember serve
The following error shows up:
When I repeat the same steps as above with a dash in the name (e.g.
play-ground
),ember serve
works fine.