DEV Community

Discussion on: Ember + Bootstrap 5

Collapse
 
jelhan profile image
Jeldrik Hanschke • Edited

You now have Bootstrap CSS and JavaScript in your application bundle. But how to use the Bootstrap components? As one of the maintainers of Ember Bootstrap I would be glad, if it would be that simple...

Collapse
 
davideferre profile image
Davide

Do you mean how to display a modal (for example) from Javascript?

Collapse
 
jelhan profile image
Jeldrik Hanschke

For example. More general speaking: How to wrap a component provided by Bootstrap into a reusable component in Ember framework. How to integrate the lifecycle etc.

Thread Thread
 
davideferre profile image
Davide

I haven't tried yet but in my ideas I had imagined using ember-render-modifiers since the first parameter of the function associated with the did-insert function and the did-update is the html element to which you associate them

Thread Thread
 
davideferre profile image
Davide

@jelhan I was thinking of something like this with @ember/render-modifiers: codepen.io/davideferre/pen/vYmBVJG