@lanseria/v-pdf
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

VPDF

A Vue 3 PDF TOOLS

English | 中文

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.8
    0
    • latest

Version History

Package Sidebar

Install

npm i @lanseria/v-pdf

Weekly Downloads

0

Version

1.0.8

License

MIT

Unpacked Size

374 kB

Total Files

56

Last publish

Collaborators

  • lanseria