You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 19, 2025. It is now read-only.
1. Updated title on the index.html
2. Updated PDFTron references in LICENSE
3. Updated package versions in package-lock.json
4. Update package versions, and `start` script on package,json
5. Updated README contents: links, added Apryse references in place of PDFTron, and restructured some sections.
6. removed 'build' script on package.json as it is not needed on this project. All you need is 'start' script and all steps are completed to run server with the needed resources.
Copyright 2020 PDFTron Systems Inc. All rights reserved.
2
-
WebViewer React UI project/codebase or any derived works is only permitted in solutions with an active commercial PDFTron WebViewer license. For exact licensing terms please refer to your commercial WebViewer license. For use in other scenario, please contact [email protected]
2
+
WebViewer React UI project/codebase or any derived works is only permitted in solutions with an active commercial PDFTron WebViewer license.
3
+
4
+
For exact licensing terms, refer to your commercial WebViewer license. For any licensing, pricing, or product questions, contact [Sales](https://apryse.com/form/contact-sales).
[WebViewer](https://www.pdftron.com/documentation/web/) is a powerful JavaScript-based PDF Library that's part of the [PDFTron SDK](https://www.pdftron.com). It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulate PDFs, MS Office, videos, images, and CAD that can be embedded into any web project.
3
+
[WebViewer](https://docs.apryse.com/documentation/web/) is a powerful JavaScript-based PDF Library that is part of the [Apryse SDK](https://apryse.com/). It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulate PDFs, MS Office, videos, images, and CAD that can be embedded into any web project.
`npm install` gets and installs required dependencies. Make sure `.parcelrc` is available at the root and configured as below.
31
+
32
+
```
33
+
{
34
+
"extends": "@parcel/config-default",
35
+
"reporters": [
36
+
"...",
37
+
"parcel-reporter-multiple-static-file-copier"
38
+
]
39
+
}
40
+
```
41
+
25
42
## Run
26
43
27
44
```
28
45
npm start
29
46
```
30
47
31
-
After the app starts, you will be able to see WebViewer running on `localhost:1234`.
48
+
After the app starts, you will be able to see a WebViewer running on `localhost:1234`.
32
49
33
50
## Static Resources
34
51
35
-
WebViewer requires static resources. [parcel-reporter-multiple-static-file-copier](https://www.npmjs.com/package/parcel-reporter-multiple-static-file-copier) does the job for us by copying the resources into statically served directory:
52
+
`WebViewer` requires static resources created in the `dist` folder. Make sure the `origin` and `destination` are specified as below in the `package.json`,
You can manually copy it, use a `postinstall` script or leverage parcel.
47
-
48
-
Remember to install `@parcel/config-default` and configure `.parcelrc`:
63
+
The `package.json` files contains the `start` and `build` scripts. The only script to call is the `start` to run the app out-of-the-box. The `build` is just to allow copying of resources to
0 commit comments