DEV Community

Discussion on: Component Libraries with Stencil.js - About Stencil

Collapse
 
suriyakumarcs profile image
suriyakumarcs

Sorry for an inconvenience.Yeah I have planned to create a full web app i mean a chat page not exactly but like gmail to integrate it with existing angular and vue applications.But i do not know how install and use bootstrap in stencil.Can you help me on this!?

Thread Thread
 
johnbwoodruff profile image
John Woodruff

So if I understand correctly, you're building a web component that you want to include in Angular and Vue applications, and you want to use the Bootstrap styling.

With any library that you include in other applications, I recommend defining dependencies as peerDependencies, so you require the library using your component to install both the component and Bootstrap, or use the already existing Bootstrap if they already have it installed. This way you're not bloating your small web component with the entire Bootstrap package.

I highly recommend joining the Stencil Slack as you have a large community of people there willing to help out with these kinds of issues.

Thread Thread
 
dhinesh55442245 profile image
dhineshkumar

Please help me .. How can I use boostrap... We are planning to develop a few pages application with stencilJs.. We require Bootstrap.. How to use it