DEV Community

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

Collapse
 
noncototient profile image
Bo

Just wondering, when the component is compiled from typescript and published, are you able to use the component without including Stencil.js lib in your project?

Collapse
 
johnbwoodruff profile image
John Woodruff

Yep! Stencil is purely a compiler, the output is plain JavaScript web components. You add it to an app as simply as adding a script tag! I'm going to go over using these components in various apps and frameworks in a later post. :)

Collapse
 
noncototient profile image
Bo

Ah that’s awesome. That’s one benefit over Polymer!