vue-pdf-next

基于vite+vue3+pdfjs的pdf预览插件
4,874
Install
npm install vue-pdf-next
Latest Version:0.0.16
Vue:3
License:ISC
Last Updated:Aug 2, 2023
Links: npm
Maintainer: awstudio2156

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Related Packages

vue-pdf-cdn

Lightweight PDF viewer for Vue.js using CDN

8,142 3
vue3-pdf-app

Vue 3 PDF viewer

518,317 105
vue-pdf-app

Vue 2 pdf viewer

217,100 243
lichen-annotate-pdf

Annotation layer for pdf.js in vue fork of Aaron Leong pdf-annotate-vue

8,368 3
fge-pdf-vue3

Vue 3 PDF viewer

1,671

Version History

Version Released Vue License
0.0.16 ^3.3.4 ISC
0.0.15 ^3.3.4 ISC
0.0.14 ^3.3.4 ISC
0.0.13 ^3.3.4 ISC
0.0.12 ^3.3.4 ISC