Web Components UI

WCUI

install

# Web Components UI
$ npm i -S @xgqfrms/wcui

https://www.npmjs.com/package/@xgqfrms/wcui

usage

<!-- import wcui -->
<script src="../dist/wcui/index.min.js"></script>

<!-- use wcui-??? -->
<wcui-toast content="this is one custom `Toast` components"></wcui-toast>

wxui components table

name props type default
wcui-toast content string

contributes

# dev
$ npm run dev

# build
$ npm run build


```sh
# publish
$ npm publish
$ npm publish --access=public

https://github.com/xgqfrms/wcui

refs

https://developer.mozilla.org/en-US/docs/Web/Web_Components/

https://javascript.info/custom-elements

https://rollupjs.org/

GitHub

View Github