1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00
joplin/packages/pdf-viewer
renovate[bot] f40a0da195
Update dependency css-loader to v6.10.0 (#10625)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 21:24:34 +01: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 Desktop: Remove page number box from new PDF Viewer (#6846) 2022-09-30 17:01:55 +01:00
fullScreen.css Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
FullViewer.tsx Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
index.html Desktop: Remove unnecessary PDF viewer messages 2022-10-26 16:04:08 +01:00
jest.config.js
main.tsx Chore: Fix warning in PDF Viewer 2022-11-28 18:21:41 +01:00
messageService.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
miniViewer.css Desktop: Added PDF viewer options (#6800) 2022-09-05 12:35:38 +01:00
miniViewer.tsx Desktop: Remove unnecessary PDF viewer messages 2022-10-26 16:04:08 +01:00
package.json Update dependency css-loader to v6.10.0 (#10625) 2024-06-17 21:24:34 +01:00
Page.tsx Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
PdfDocument.ts Merge branch 'release-2.14' into dev 2024-05-21 10:10:29 +01:00
pdfSource.test.ts Tools: Add more eslint/jest rules 2023-03-09 17:50:56 +00:00
README.md Tools: Fix desktop build performance issue (#6762) 2022-08-19 19:10:39 +01:00
textLayer.css Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
tsconfig.json
types.ts Chore: Resolves #8360: Use @typescript-eslint/indent for TypeScript files (#8367) 2023-07-06 19:17:41 +01:00
VerticalPages.tsx Tools: Enable eslint rule comma-dangle: always-multiline for functions 2023-08-22 11:58:53 +01:00
webpack.config.js Chore: Fix pdf-viewer build 2022-10-12 15:43:56 +01:00

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.