Bootstrap being loaded in my scriptTag widget even though I'm only using material UI

New Member
2 0 0

I create a widget that uses Swiper.JS and Material UI, to handle all the styling.

But whenever I install my app and enable it from my Shopify admin, some of the CSS are overwritten mainly the store theme.

After some checking, I noticed that the bootstrap we being added to the page, by some iFrameLoader.

If I remove the widget and reload the page the Bootstrap script goes away, and I only get the theme.scss.

 

My question is why the bootstrap is being loaded to the page where my widget is being displayed even though I'm not using it.

 

0 Likes