A web components UI library.
npm install green-hat-lib
You can require the whole library:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/green-hat-lib@0.4.5/dist/base.b2bb851a.min.css"/>
<script src="https://cdn.jsdelivr.net/npm/green-hat-lib@0.4.5/dist/greenhat.de370dfe.min.js"></script>
And use in the DOM like this:
<gh-button></gh-button>
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
- Clone
npm i
npm run build
to get the buildnpm run start
to run a development environment