@vue-pdf-viewer/viewer 1.6.0-rc.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,29 +1,64 @@
1
- # Vue PDF Viewer
1
+ <div align="center">
2
+ <a href="https://www.vue-pdf-viewer.dev/" target="_blank">
3
+ <picture>
4
+ <source srcset="https://raw.githubusercontent.com/vue-pdf-viewer/vue-pdf-viewer/main/assets/img/vue-pdf-viewer_logo_light.jpg" width="500">
5
+ <img alt="Vue PDF Viewer" src="https://raw.githubusercontent.com/vue-pdf-viewer/vue-pdf-viewer/main/assets/img/vue-pdf-viewer_logo_light.jpg" width="500">
6
+ </picture>
7
+ </a>
8
+ </div>
2
9
 
3
- This package is a [Vue 3](https://vuejs.org/) component which is a handy way to integrate PDF viewing capabilities within your Vue or Nuxt applications.
10
+ <h1 align="center">PDF Viewer for Vue 3</h1>
4
11
 
5
- ### Prerequisites
12
+ <div align="center">
13
+ Works seamlessly on your Vue or Nuxt websites. Customizable themes, built-in localizations and accessibility support.
14
+ </div>
15
+ <br/>
6
16
 
7
- Here are the basic system requirements to run the Vue PDF Viewer component:
17
+ <div align="center">
18
+
19
+ [Vue PDF Viewer Home][vuepdfviewer] - [License](#page_facing_up-license) - [Documentation][vuepdfviewer-docs]
20
+
21
+ Available for: Vue.js (3.0^), Nuxt (3.0^)
8
22
 
9
- - Vue version: >= 3.0
10
- - Nuxt version: >= 3.0
23
+ [![NPM Version](https://img.shields.io/npm/v/%40vue-pdf-viewer%2Fviewer)][npm]
24
+ [![Twitter](https://img.shields.io/twitter/follow/VuePDF?label=VuePDF&style=social)][twitter]
11
25
 
12
- _Remark: <br>- Vite version will affect the Vue or Nuxt version used. <br>- If using TypeScript, it requires >= TypeScript 4.6._
26
+ </div>
13
27
 
14
- ## Installation
28
+ # :book: Table of Contents
15
29
 
16
- Install the package in your project directory with:
30
+ 1. [Why Vue PDF Viewer](#star-why-vue-pdf-viewer)
31
+ 2. [Features](#sparkles-features)
32
+ 3. [Documentation](#bookmark_tabs-documentation)
33
+ 4. [Starter Toolkit](#pushpin-starter-toolkit)
34
+ 5. [Need Help?](#raising_hand-need-help)
35
+ 6. [License](#page_facing_up-license)
36
+ 7. [Acknowledgement](#acknowledgement)
17
37
 
18
- ```bash
19
- npm install @vue-pdf-viewer/viewer
20
- ```
38
+ # :star: Why Vue PDF Viewer
21
39
 
22
- ## Documentation
40
+ As developers ourselves, we faced many issues such as browser incompatibility and customizability while working with PDF libraries. Vue PDF Viewer (VPV) is created to solve these issues, and be flexible and simple to use for Vue.js developers. More importantly, we also built our technical documentation to be detailed and easy to follow along.
23
41
 
24
- For more details on how to usage or other technical information, please visit [https://docs.vue-pdf-viewer.dev/](https://docs.vue-pdf-viewer.dev/).
42
+ # :sparkles: Features
25
43
 
26
- ## Starter Toolkit
44
+ <table>
45
+ <tr>
46
+ <td><p>1. Interactive & immersive experience</p><img src="https://raw.githubusercontent.com/vue-pdf-viewer/vue-pdf-viewer/main/assets/img/vpv-feature-interactive.png" /></td>
47
+ <td><p>2. Responsive display for different devices</p><img src="https://raw.githubusercontent.com/vue-pdf-viewer/vue-pdf-viewer/main/assets/img/vpv-feature-responsive.png" /></td>
48
+ </tr>
49
+ <tr>
50
+ <td><p>3. Customizable to your website's style</p><img src="https://raw.githubusercontent.com/vue-pdf-viewer/vue-pdf-viewer/main/assets/img/vpv-feature-customizable.png" /></td>
51
+ <td><p>4. Navigate across document easily</p><img src="https://raw.githubusercontent.com/vue-pdf-viewer/vue-pdf-viewer/main/assets/img/vpv-feature-navigation.png" /></td>
52
+ </tr>
53
+ </table>
54
+
55
+ Check out the full list of Vue PDF Viewer features [over here](https://www.vue-pdf-viewer.dev/features)
56
+
57
+ # :bookmark_tabs: Documentation
58
+
59
+ To explore VPV's technical information such as basic usage or component API, please feel free to explore [Docs][vuepdfviewer-docs].
60
+
61
+ ## :pushpin: Starter Toolkit
27
62
 
28
63
  Here are some sample projects to get started on Vue PDF Viewer quickly:
29
64
 
@@ -31,10 +66,28 @@ Here are some sample projects to get started on Vue PDF Viewer quickly:
31
66
  2. [Vue – Options API - TypeScript](https://github.com/vue-pdf-viewer/starter-vpv-options-ts)
32
67
  3. [Vue – Composition API - JavaScript](https://github.com/vue-pdf-viewer/starter-vpv-composition-js)
33
68
  4. [Vue – Options API - JavaScript](https://github.com/vue-pdf-viewer/starter-vpv-options-js)
34
- 5. [Nuxt - TypeScript](https://github.com/vue-pdf-viewer/starter-vpv-nuxt-ts)
69
+ 5. [Vue – SSR - TypeScript](https://github.com/vue-pdf-viewer/starter-vpv-ssr-vue-ts)
70
+ 6. [Nuxt - TypeScript](https://github.com/vue-pdf-viewer/starter-vpv-nuxt-ts)
71
+ 7. [VitePress](https://github.com/vue-pdf-viewer/starter-vpv-vitepress)
72
+ 8. [Quasar](https://github.com/vue-pdf-viewer/starter-vpv-quasar)
73
+
74
+ # :raising_hand: Need Help?
35
75
 
36
- ## License
76
+ We are more than happy to help you. If you have any questions, run into any errors or face any problems, please feel free to create an issue in [Issues](https://github.com/vue-pdf-viewer/vue-pdf-viewer/issues) or PM us directly in [Twitter][twitter]. Anything related to VPV is on the table!
77
+
78
+ # :page_facing_up: License
37
79
 
38
80
  Vue PDF Viewer is distributed under our proprietary license. Please refer to our [License page](https://www.vue-pdf-viewer.dev/license-agreement) file for more details.
39
81
 
40
- If you would like to use Vue PDF Viewer commercially, please purchase a license from [our website](https://www.vue-pdf-viewer.dev) or reach out to us directly at [david@vue-pdf-viewer.dev](mailto:david@vue-pdf-viewer.dev).
82
+ If you would like to use Vue PDF Viewer commercially, please purchase a license from [our website][vuepdfviewer] or reach out to us directly at [david@vue-pdf-viewer.dev](mailto:david@vue-pdf-viewer.dev).
83
+
84
+ # Acknowledgement
85
+
86
+ - [pdf.js](https://github.com/mozilla/pdf.js)
87
+ - [Img Shields](https://shields.io)
88
+ - [Vue.js](https://vuejs.org/)
89
+
90
+ [twitter]: https://x.com/VuePDF
91
+ [vuepdfviewer]: https://www.vue-pdf-viewer.dev
92
+ [vuepdfviewer-docs]: https://docs.vue-pdf-viewer.dev
93
+ [npm]: https://www.npmjs.com/package/@vue-pdf-viewer/viewer