0.0.2 • Published 4 years ago

custom-webcomponents-sarluv v0.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Built With Stencil

Custom Web Components

This is a project for building a standalone Web Component using Stencil.

Getting Started

To start building a new web component using Stencil, clone this repo to a new directory:

git clone https://github.com/alansarluv/custom-webcomponents.git custom-webcomponent
cd custom-webcomponent

and run:

npm install
npm start

To build the component for production, run:

npm run build

To run the unit tests for the components, run:

npm test

Naming Components

All the custom components tags use prefix cwc- in the component name (ex: <cwc-datepicker>). cwc- means custom-webcomponents

List Components

  1. Digital clock
  2. Tooltip
  3. Progress bar
  4. Sidebar