Skip to content

Conversation

@yooouuri
Copy link

@yooouuri yooouuri commented Mar 10, 2023

close #53

This PR will add a cjs and esm build.

Also changed from npm to pnpm.

image

import { StreamBarcodeReader } from "vue-barcode-reader";
// or
import { ImageBarcodeReader } from 'vue-barcode-reader'

Stylesheet needs to be imported manually

<style lang="scss" scoped>
@import 'vue-barcode-reader/style.css';
</style>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vue-barcode-reader doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module

1 participant