0.0.2 • Published 5 years ago
custom-webcomponents-sarluv v0.0.2
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
- Digital clock
- Tooltip
- Progress bar
- Sidebar