Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sabitertan/BlazorBarcodeScanner

Barcode Scanner component for Blazor using zxing-js Interop
https://github.com/sabitertan/BlazorBarcodeScanner

Last synced: 3 months ago
JSON representation

Barcode Scanner component for Blazor using zxing-js Interop

Awesome Lists containing this project

README

        

![Nuget](https://img.shields.io/nuget/v/BlazorBarcodeScanner.ZXing.JS?style=flat-square)
![build](https://github.com/sabitertan/BlazorBarcodeScanner/actions/workflows/main.yml/badge.svg)
# BlazorBarcodeScanner
Barcode Scanner component for Blazor using [zxing-js](https://github.com/zxing-js/library) Interop

## Demo
[https://sabitertan.github.io/BlazorBarcodeScanner/](https://sabitertan.github.io/BlazorBarcodeScanner/)

## Prerequisites

Before you continue, please make sure you have the latest version of Visual Studio and .NET 6+ installed. Visit official [Blazor](https://dotnet.microsoft.com/apps/aspnet/web-apps/client) site to learn more.

## Installation

### 1. NuGet packages

```
Install-Package BlazorBarcodeScanner.ZXing.JS
```

or

```
dotnet add package BlazorBarcodeScanner.ZXing.JS
```

### 2. Refence to JS libraries

Add following lines to `wwwroot\index.html` (for server side `_Host.cshtml`) before `