ember-codemods / ember-module-migrator

Automated migration for new Ember application layout.
74 stars 15 forks source link

Document `/` in the component path #60

Closed mixonic closed 7 years ago

mixonic commented 7 years ago

Document that if you use {{component someVar}} and someVar is "foo/bar-baz" the lookup should be changed to not use a /.

Additionally I'm not sure what components invoked as {{foo/bar-baz}} end up as.

Refs: https://github.com/rwjblue/ember-module-migrator/issues/53

/cc @billybonks

mixonic commented 7 years ago

Added docs, still waiting on some research into what the static invocation does.

mixonic commented 7 years ago

Ah it moves them incorrectly. I'll open a new issue regarding this and close this one.

billybonks commented 7 years ago

well, it moves them to components global because there is no way to know about dynamic components unless you parse the code.