1.0.8 • Published 3 years ago

@lanseria/v-pdf v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Documentation

https://github.com/Lanseria/v-pdf#readme

Features

  • 支持 PDF 预览
  • 仅支持 vue 3
  • 支持 PDF 文字复制

Installation

npm

Use npm to install.

npm i -D @lanseria/v-pdf

USE

<template>
  <v-pdf-viewer
    src="https://cdn.filestackcontent.com/wcrjf9qPTCKXV3hMXDwK"
  ></v-pdf-viewer>
</template>

Contributing

Please see CONTRIBUTING.md.

License

v-pdf is licensed under the MIT license.

Reference

Vue PDF.js Demo

This project demonstrates how a simple PDF viewer could be implemented using Vue and PDF.js. This is not a fully-featured PDF document viewer with sophisticated controls, but could serve as the basis for one.

Index

To learn more, checkout the series of posts describing how this project was implemented.

  1. Basic page rendering
  2. Fetching and rendering lazily
  3. Extracting a data component
  4. Refactoring to nested abstract components

pdfvuer

Index

pdf.js doc

Doc

pdf.js viewer code

web/app.js

set pdf.js viewer locale

issues

vue full feature pdf.js demo

github

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago