pdf-viewer-reactjs Simple react PDF Viewer component with controls like Page navigation Zoom Rotation Every element can be styled upon your preferences using default classes your own and also custom react element can be passed. Initially it was forked frommgr-pdf-viewer-react...
from:'node_modules/pdf-js/public/pdfjs', to:'hpesc/pdfjs', toType:'dir' } ]) Readme Keywords none Install npm ipdfjs-viewer-react Version 2.0.943 License none Unpacked Size 10.4 MB Total Files 406 Last publish 6 years ago
package.json webpack.config.dev.js webpack.config.js Breadcrumbs react-file-viewer / .npmignore Latest commit Cannot retrieve latest commit at this time. HistoryHistory File metadata and controls Code Blame 2 lines (2 loc) · 32 Bytes Raw webpack.config.js npm-debug.log 1 2 While...
其实我们很容易就会发布属于自己的npm包,下面我会一步步讲讲如何将上述的vue-pdf-viewer组件发布到npm官网的。 1.执行npm init 执行npm init后,根据命令行提示,依次输入 包名称 版本 描述 入口文件 测试脚本 关键词 作者 版权信息(协议) 等等,最后OK,生成一个package.json文件。 2.确定包的目录结构 package.jso...
vue-pdf-viewer组件js 该组件需要传两个参数,一个是URL,一个是缩放值scale。 vue组件需要显式说明自身期望传入哪些属性,并且可以赋予默认值。调用组件时,传入不同的属性,可以实现父组件向子组件传值。 1 2 3 4 5 6 7 8 props: { pdfurl: { default: '' }, scale: { default: 1 } } 子组件向父...
"forceConsistentCasingInFileNames": true, "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, // "noEmit": true, "jsx": "react" }, "include": ["src"], "exclude": [ "src/__tests__", "src/_example-files_", "src/serviceWorker.ts", "src/setupTests....
A free, fast, and reliable CDN for react-image-viewer-mobile. a react component for view images in mobile
在我用“创建-反应-应用程序”创建的react应用程序中,我一直很难获得react pdf来正常工作。从React页面上的各种github评论来看,在用“创建-反应-应用程序”创建的react应用程序中设置workerSrc似乎存在问题。解决这个问题(暂时)的一项工作是从node-modules/build/pdfjs-dist/build文件夹中复制pdf</ 浏览1提问于2018-12...
A free, fast, and reliable CDN for react-office-viewer. A React component to preview document of 'pdf,xls,xlsx,docx', which can automatically identify file types.
如何实现Web和Webview对前端常用框架(如Vue,React)的适配 Webview页面中,如何拦截从网络请求来的数据,转为读取本地预置数据 如何在Web请求时添加header头 Web组件对原生H5、常用框架VUE、React的页面支持情况,包括本地和网络端的页面 Web组件如何访问本地的资源文件,并添加查询参数 如何判断Web滑动到了顶部/...