@larryh wrote:
Hi,
I’m using Ember 3.2 and have installed the ember-angle-bracket-invocation-polyfill and try as I might I cannot get a simple component call for the following to work:
{{users/login-form}}
I have tried every combination of
<users.LoginForm />
I can think of (w.r.t. upper/lowercase letters, dashes and slashes) with no success.
Here is what the doc says about using the polyfill:
Supports invoking components via angle brackets with self-closing syntax <FooBar /> Supports invoking components via angle brackets using paths <some.thing></some.thing>
I’m confused about the “path” part. I figure the path in the example above is “some”, and thus the component’s name is “thing” - but we were told that components must always consist of two words with a dash, so “thing” would not be allowed.
I’m obviously missing something and/or reading this completely wrong. Can someone let me know how I should reference my component using angle brackets?
Posts: 3
Participants: 2