Web Component based Qiita slide viewer built with Vue.js(Vue CLI v3)
Kamishibai is a under development library. Because breaking changes may be born, please be careful when using.
This is a library for embedding slides of Qiita which is a Japanese technical document sharing site.
demo: https://potato4d.github.io/kamishibai-viewer/dist/1.0.0/demo.html
※ As we are planning to publish to webcomponents.org, the URL may change!
- Load runtime on script tag
<script src="https://unpkg.com/vue"></script>
<script src="https://potato4d.github.io/kamishibai/dist/1.0.0/kamishibai.min.js"></script>
- Write custom element tag for your HTML
<kamishibai-viewer itemid="4ff5873776992f0511d6"></kamishibai-viewer>
- Done!
- itemid: String
- Qiita item ID
- apikey?: String
- Qiita personal access token
requirements:
- Node: Current LTS
- Yarn: 1.12.0 or higher
$ git clone https://github.com/potato4d/kamishibai-viewer
$ cd kamishibai-viewer
$ yarn
$ yarn serve
$ yarn build:web # Build Development website
$ yarn build # Build Web Component
MIT @ HANATANI Takuma(@potato4d)
email: mail@potato4d.me