Note that you will need to use npm 6 or higher.
Run:
npm i -g npm
To install latest version of npm
The create-stencil CLI offers the following starters for bootstrapping your project:
component
- allows one to spin up a component library containing one or more Stencil components. Best suited for teams/individuals looking to reuse components across one or more applications.app
- allows one to spin up an application, complete with routing. This is a community-driven project, and is not formally owned by the Stencil teamionic-pwa
- allows one to spin up an Ionic PWA, complete with tabs layout and routing. This is a community-driven project.
npm init stencil
npm init stencil <starter> <projectName>
Example:
npm init stencil component my-stencil-library
If you are behind a proxy, configure https_proxy
environment variable.
If you want to add features, clone this repo, open terminal:
npm install
Then, compile and run the starter:
npm run dev
And it will help you test out your changes.
Created by William M. Riley:
- MIT