jbehrens94
jbehrens94

Reputation: 2396

Ember: bootstrap classes not working?

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

Answers (1)

Igor
Igor

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

Related Questions