Skip to content

Dynamsoft/web-twain-angular-cli-application

Repository files navigation

Dynamic Web TWAIN Angular Cli Application

This project demonstrates how to build an Angular scanning project with Dynamsoft Web TWAIN SDK.

Usage

Environment: Node.js v18.16.0

  1. Apply for a 30-day free trial license of Dynamic Web TWAIN.

  2. Update the license key in src\app\dwt\dwt.component.ts file:

    Dynamsoft.DWT.ProductKey = "LICENSE-KEY";
    
  3. Install the dependencies:

    npm install --force
    
  4. Run the Angular application as follows:

    ng serve
    

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.