Skip to content


Repository files navigation


NPM version Build Status Dependency Status Coverage percentage

scaffolding tool for stencil compiler


First, install Yeoman and generator-stencil using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-stencil

Then generate your new project:

yo stencil

what does this generator support?

  1. Stencil Router
  2. Tests

more coming soon.. check Roadmap


Stencil generator comes with a few sub generators that will help you scaffold faster and easier web-components

  1. Component generator
yo stencil:component
  1. Page generator
yo stencil:page


  • Sass and PostCSS support
  • Stencil Router support
  • Test's support
  • Automatic intelligent bundling
  • Life Cycle Events flag for components
  • Adding Events and Event listeners
  • Adding Forms
  • Improving audit scores


MIT © Akash Gutha