Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230621

Using existing Js libraries in stencil

$
0
0

Hi izio,
is it possible to create a set of web components each one using (potentially) a different ui framework?
I’ve created a webcomponent (with stenciljs 0.11) that imports bootstrap css/js but it does not work if I set shadow dom to true.
In my webcomponent the current imports for bootstrap are:

  • (in scss) @import “…/…/…/node_modules/bootstrap/scss/bootstrap”;
  • (in tsx) import ‘bootstrap’;

I think shadow dom is mandatory if one component uses bootstrap and another one uses, for example, semantic ui, or why not, another version of boostrap.

Thanks


Viewing all articles
Browse latest Browse all 230621

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>