An opinionated set of web components for building strong and fast applications.
Getting Started
Via npm
First install the lib
npm i z-web-components
if you use a bundler, you will probably need to add a browserslist
key to your package.json
. For example :
"browserslist": [ ">2%", "Edge > 14", "Firefox > 63", "Chrome > 67" ]
Then import in your javascript
// main.js
Via cdn
You can also use any cdn provider that mirrors npm packages.
<!-- unpkg --> <!-- jsdeliver -->
Usage
And use it in your html (more info on the documentation website)
<!-- index.html --> This is tab 1. This is tab 2. This is tab 3.
Built With
- ParcelJs - Blazing fast, zero configuration web application bundler
- LitElement - A simple base class for creating fast, lightweight web components
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Development
Clone the repository
# ssh git clone git@github.com:benavern/z-components.git z-web-components # https git clone https://github.com/benavern/z-components.git z-web-components
Install dependancies
cd z-web-componentsnpm i
Serve with hot reload and stuff
npm run dev
Build the lib
npm run build:lib
Versioning
We use SemVer for versioning.
We use gitflow for development workflow.
Authors
- Benjamin Caradeuc - Initial work - benavern
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details