Reputation: 2396
When I make two components in ember; menu-auth-login and menu-auth-register and I add them using {{#make-auth-login}}{{/make-auth-login}}
the styling is incorrect somehow.
Can this be due to the Ember views in between? <div id="ember36" class="ember-view"></div>
contains my components.
Is this right?
Upvotes: 0
Views: 485
Reputation: 1588
By default an ember component will be in a div tag. You can change that by defining the tagName property inside of the component. Read more about it here.
If you want your component not to be backed by any tag at all, you can specify the tagName property as an empty string.
Upvotes: 2