Mention web application usage in README.md

This commit is contained in:
Tim van der Meij 2016-04-26 22:03:35 +02:00
parent 11a2282b95
commit 9c4bb83f7a

View File

@ -86,6 +86,13 @@ be loaded by `pdf.js`. If you want to support more browsers than Firefox you'll
to include `compatibility.js` from `build/generic/web/`. The PDF.js files are large and
should be minified for production.
## Using PDF.js in a web application
To use PDF.js in a web application you can choose to use a pre-built version of the library
or to build it from source. We supply pre-built versions for usage with NPM and Bower under
the `pdfjs-dist` name. For more information and examples please refer to the
[wiki page](https://github.com/mozilla/pdf.js/wiki/Setup-pdf.js-in-a-website) on this subject.
## Learning
You can play with the PDF.js API directly from your browser through the live