BMP Trackers
Getting Started
To start building a new web component using Stencil, clone this repo to a new directory 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
Need help? Check out our docs here.
Naming Components
When creating new component tags, we recommend not using stencil
in the component name (ex: <stencil-datepicker>
). This is because the generated component has little to nothing to do with Stencil; it's just a web component!
Instead, use a prefix that fits your company or any name for a group of related components. For example, all of the Ionic generated web components use the prefix ion
.
For this project we should use bmp
Notas adicionales
Al hacer el start
el servidor va a lanzar el archivo index.html
dentro de la carpeta src
.
Esto se puede usar para probar los distintos componentes.
Para crear uno nuevo basta con añadir un carpeta nueva dentro de la carpeta components
.
Se pueden crear carpetas adicionales dentro de src
como la de utils