N
Nuxt6mo ago
8l8

how can i add `zbar-wasm` to nuxt?

i try use https://www.npmjs.com/package/@undecaf/barcode-detector-polyfill but got this trouble in attachment image here is my script test.vue component
<template>
<div>
<h1>heloo wol1</h1>
</div>
</template>
<script setup>
import { BarcodeDetectorPolyfill } from "https://cdn.jsdelivr.net/npm/@undecaf/barcode-detector-polyfill@latest/dist/main.js";
onMounted(()=>{
})
</script>
<template>
<div>
<h1>heloo wol1</h1>
</div>
</template>
<script setup>
import { BarcodeDetectorPolyfill } from "https://cdn.jsdelivr.net/npm/@undecaf/barcode-detector-polyfill@latest/dist/main.js";
onMounted(()=>{
})
</script>
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server