my-component is a simple (develop ready) template for the web component
use directly with https://raw.githack.com
<script type="module" src="https://raw.githack.com/oleksiy-nesterov/my-component/v1.0.2/dist/index.js"></script>
use directly with GitHub Pages, last version of component
<script type="module" src="https://oleksiy-nesterov.github.io/my-component/dist/index.js"></script>
install via NPM
npm install git+https://github.com/oleksiy-nesterov/my-component.git#v1.0.2
npm install git+ssh://git@github.com/oleksiy-nesterov/my-component.git#v1.0.2
<my-component></my-component>
Browsers without native custom element support require a polyfill.
- Chrome
- Firefox
- Safari
- Microsoft Edge
npm start
bash rename.sh
git tag -a v1.0.0 -m "Releasing version v1.0.0"
git push --tags