0.0.2 • Published 5 years ago
web-components-toast v0.0.2
Web Components with Webpack Starter Kit
Starter Kit for Web Components with Webpack as application bundler.
- fork web-components-starter-kit
this components uses Custom Elements and Shadow DOM so for FireFox, Edge and IE11 you'll need to use the webcomponents-loader from (webcomponentsjs)https://github.com/webcomponents/webcomponentsjs.
<script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script>
useage
- npm install web-component-toast
- import ‘path to web-component-toast’
<web-toast text='haha' open ></web-toast>