DEV Community

Discussion on: Web Components in Style

Collapse
 
addn2x profile image
David Trattnig • Edited

Some thoughts from my side:

on 3.) I'm using Svelte to write my components. There every component has it's own file, holding JS, HTML and CSS.
on 4.) In Svelte when the component bundle is build, everything is merged in a single JS file. On the target page you only need to include this file and instantiate individual components using their tag e.g.