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

https://github.com/artifexsoftware/mupdf-webviewer-angular-sample

An example of how to get started with MuPDFWebViewer for Angular.
https://github.com/artifexsoftware/mupdf-webviewer-angular-sample

angular mupdf pdf pdf-document pdf-viewer webviewer

Last synced: 3 months ago
JSON representation

An example of how to get started with MuPDFWebViewer for Angular.

Awesome Lists containing this project

README

          

# MuPDF WebViewer Angular Sample

An example of [MuPDF WebViewer](https://webviewer.mupdf.com) within an Angular project.

## Prerequisites

- Node.js
- npm

## Before you start

- Visit [https://webviewer.mupdf.com/account](https://webviewer.mupdf.com/account) to get a license key.
- Copy the license key and replace `YOUR_LICENSE_KEY` in `src/app/app.component.ts` with the license key.

> [!TIP]
> Ensure to register `localhost` as a domain for your license key if you require to test locally!

## Install
```shell
npm ci
```

## Run
```shell
npm run start
```

## Build

```shell
npm run build
```