# Vue samples

This directory contains Vue-based examples demonstrating how to use the Dynamsoft Barcode Reader (JavaScript edition) in Vue projects.

**Included examples**

- `scan-using-foundational-api/` — Full example using the foundational API.
- `scan-using-rtu-api/` — Demo showing usage of the RTU API.

## Quick start

1. Change to a subexample directory, for example:

   ```bash
   cd scan-using-foundational-api
   ```

2. Install dependencies and start the dev server:

   ```bash
   npm install
   npm run dev
   ```

3. Open the local address shown in the terminal (commonly `http://localhost:3000` when using Vite).

## Notes

- Run the example via a development server. Opening static HTML files directly may break module loading or camera access.
- For general usage and license info, see the repository root `README.md`.