green-hat-lib
v0.4.5
Published
A library of web components.
Downloads
1
Readme
<green-hat-lib>
A web components UI library.
Installation
npm install green-hat-lib
Usage
You can require the whole library:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/base.b2bb851a.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/greenhat.d52d4386.min.js"></script>
And use in the DOM like this:
<gh-button></gh-button>
Tooling configs
For most of the tools, the configuration is in the package.json
to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
Local Demo http://localhost:1234
npm start
Contributing
- Clone
npm i
npm run build
to get the buildnpm run start
to run a development environment