/stencil-sandbox

Experimenting with StencilJS and Reusable Web Components

Primary LanguageTypeScriptMIT LicenseMIT

StencilJS Sandbox

This is a WIP application experimenting with generating reusable web components

Getting Started

To start a new project using Stencil, clone this repo to a new directory:

git clone https://github.com/ionic-team/stencil-starter.git my-app
cd my-app
git remote rm origin

and run:

npm install
npm start

To view the build, start an HTTP server inside of the /www directory.

To watch for file changes during development, run:

npm run dev

To build the app for production, run:

npm run build

To run the unit tests once, run:

npm test

To run the unit tests and watch for file changes during development, run:

npm run test.watch