vue-quaggajs
Advanced tools
Comparing version
@@ -6,3 +6,3 @@ { | ||
"cdn": "dist/vue-quagga.min.js", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"author": "Shintaro Tanaka <sin_tanaka@jsl.co.jp>", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
# vue-quaggajs | ||
> A Vue.js project | ||
[quaggajs](https://serratus.github.io/quaggaJS/) 's wrapper for Vue.js | ||
## Build Setup | ||
## Installtion | ||
### npm | ||
``` bash | ||
# install dependencies | ||
npm install | ||
npm i vue-quagga | ||
``` | ||
# serve with hot reload at localhost:8080 | ||
npm run dev | ||
```vue | ||
<template> | ||
<scanner></scanner> | ||
</template> | ||
# build for production with minification | ||
npm run build | ||
``` | ||
<script> | ||
import Scanner from 'vue-quagga'; | ||
For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader). | ||
export default { | ||
//... | ||
components: { | ||
'scanner': Scanner, | ||
}, | ||
// ... | ||
} | ||
</script> | ||
2322120
030
57.89%