This project demonstrates how to build an Angular scanning project with Dynamsoft Web TWAIN SDK.
Environment: Node.js v18.16.0
-
Apply for a 30-day free trial license of Dynamic Web TWAIN.
-
Update the license key in
src\app\dwt\dwt.component.ts
file:Dynamsoft.DWT.ProductKey = "LICENSE-KEY";
-
Install the dependencies:
npm install --force
-
Run the Angular application as follows:
ng serve
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.