Skip to content
#

pdf

Here are 3,725 public repositories matching this topic...

Yuri-Tiofilo
Yuri-Tiofilo commented Mar 17, 2020

código da aplicação

import React, { useState, Component } from 'react';
// import { Document, Page } from 'react-pdf/dist/entry.webpack';
import {
  Document,
  Page,
  Text,
  View,
  PDFDownloadLink,
  Button,
} from '@react-pdf/renderer';
// import { Container } from './styles';
// import jsPDF from 'jspdf';
// import { renderToString } from 'react-dom/server';
import pdf
FrederickEngelhardt
FrederickEngelhardt commented Mar 5, 2020

Description

When following the documentation on how to enable the PDF.js worker for performance I enabled the import { Document } from 'react-pdf/dist/entry.webpack'; for webpack

The worker will fail to load returning a GET /node/pdf.worker.js 404 (Not Found) when loading a url from our public asset section. Also tried this with a simple file hosting server with a ngrok url to co

使用spring boot打造文件文档在线预览项目解决方案,支持doc、docx、ppt、pptx、xls、xlsx、zip、rar、mp4,mp3以及众多类文本如txt、html、xml、java、properties、sql、js、md、json、conf、ini、vue、php、py、bat、gitignore等文件在线预览

  • Updated Jun 30, 2020
  • Java

Improve this page

Add a description, image, and links to the pdf topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pdf topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.