Skip to content

beclamide/stenciljs-boilerplate

Repository files navigation

StencilJS Boilerplate

This is a blank starter project for building web applications and sites using StencilJS. It includes SASS compiler and task runner.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installing

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

git clone https://github.com/Beclamide/stenciljs-boilerplate.git my-app
cd my-app
git remote rm origin

and run:

npm install

Development

To launch the development server run:

npm start

Your default web browser will launch and changes to files are watched.

Tasks

This project includes stencil-tasks to help automate various tasks. You can run them from the command line:

npm run task --create my-component
npm run task --route my-route

For more information about the available commands, check out the README

Running the tests

Tests are written with Jest

npm run test

Building the project

To build the code run:

npm run build

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details