Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
/ vue-pdf-useinvite Public archive

vuejs pdf viewer editor 利用vitejs 库脚手架搭建的 pdf 预览编辑vue组件

License

Notifications You must be signed in to change notification settings

lanseria/vue-pdf-useinvite

Repository files navigation

vue-pdf-useinvite

此项目为 vitejs vuejs3 pdfjs-dist pdf-lib 库, 一起构建的组件

This project is for the vitejs vuejs3 pdfjs-dist pdf-lib library, built together with the components

npm / yarn 安装

npm i @lanseria/vue-pdf-vite

yarn add @lanseria/vue-pdf-vite

引入 @lanseria/vue-pdf-vite

import "@lanseria/vue-pdf-vite/style.css";
<template>
  <pdf-editor
    src="http://183.131.134.242:1889/files/20210619/383518b085f9469eb9ec34594196f8c7.pdf"
  ></pdf-editor>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import { PdfEditor } from "@lanseria/vue-pdf-vite";
// import { PdfViewer } from "@lanseria/vue-pdf-vite";

export default defineComponent({
  name: "App",
  components: {
    PdfEditor,
  },
});
</script>

效果

具体 TODO

About

vuejs pdf viewer editor 利用vitejs 库脚手架搭建的 pdf 预览编辑vue组件

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published