gruhn / vue-qrcode-reader

A set of Vue.js components for detecting and decoding QR codes.
https://gruhn.github.io/vue-qrcode-reader
MIT License
2.03k stars 330 forks source link

Failed to mount component: template or render function not defined. #274

Closed antbelogurov closed 2 years ago

antbelogurov commented 2 years ago

Hi. I get an error in my project (Vue 2) image

component with initialization image

image

what is the problem?

antbelogurov commented 2 years ago

i import this component glocl and he work

gruhn commented 2 years ago

The individual components come as named exports:

import { QrcodeStream } from "vue-qrcode-reader"

not the default export.