1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/pdf-viewer
2024-03-02 11:04:23 +00:00
..
config
hooks Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
ui Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
.gitignore
common.css
fullScreen.css
FullViewer.tsx Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
index.html
jest.config.js
main.tsx
messageService.ts
miniViewer.css
miniViewer.tsx
package.json Chore: Setup new release 3.0 2024-03-02 11:04:23 +00:00
Page.tsx
PdfDocument.ts
pdfSource.test.ts
README.md
textLayer.css
tsconfig.json
types.ts
VerticalPages.tsx Tools: Enable eslint rule comma-dangle: always-multiline for functions 2023-08-22 11:58:53 +01:00
webpack.config.js

PDF VIEWER

A custom built PDF viewer for Joplin's use. The viewer is designed to be rendered in an iframe. This package produces the build files in /dist folder.

Installation & Usage

From root of the project:

yarn install

This step will also run yarn build and build the viewer on post-install and populate the /dist folder. We are using weback for build process.

When working on the viewer, after code updates you need to rebuild the viewer:

yarn build

Alternatively, you can use yarn watch to rebuild automatically on code changes.

yarn watch

The build process of app-desktop takes care of copying the content of /dist and the root html file to appropriate location.