file-viewer纯前端文档预览万能iframe嵌入版demo,无需引用任何依赖,立即获得前端文档预览能力

上传者: wybaby168 | 上传时间: 2024-07-10 10:42:35 | 文件大小: 10.88MB | 文件类型: ZIP
全网首发,保证可用,基于最新file-viewer3构建产物,独此一份。 可用于vue2和vue3,您可直接参考demo集成。 博客地址:https://blog.csdn.net/wybaby168/article/details/129954677 本集成方式有着天然优势,不需要担心项目依赖冲突,不需要考虑兼容性,不需要会TypeScript,建议大家优先以该方式集成。 本项目是本人基于实际工作共享的第一个小项目,诞生于2022年上旬。 作为当前仓库的vue3构建版本,会跟随vue2版本持续更新,敬请期待,欢迎提交issue. Vue3版本特性: 高质量的TypeScript代码重构模块,更加优雅的实现等你发现 使用极速响应的Vite架构,畅快开发 完全重构了部分模块,如Word,Excel,Pptx等组件 优化Excel主题颜色解析,完美还原Excel样式 优化Pptx响应速度,使用重用逻辑 优化Pptx加载项,解耦图表部分,待重构解耦相关NvD3依赖。 使用完全的组合式API构建应用,高性能低占用 解耦了样式依赖,FileViewer组件依赖父节点进行布局,自动填满

文件下载

资源详情

[{"title":"( 42 个子文件 10.88MB ) file-viewer纯前端文档预览万能iframe嵌入版demo,无需引用任何依赖,立即获得前端文档预览能力","children":[{"title":"file-viewer-demo","children":[{"title":"yarn.lock <span style='color:#111;'> 65.75KB </span>","children":null,"spread":false},{"title":".vscode","children":[{"title":"extensions.json <span style='color:#111;'> 75B </span>","children":null,"spread":false}],"spread":true},{"title":"tsconfig.node.json <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.ts <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"App.vue <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"excel.xlsx <span style='color:#111;'> 20.94KB </span>","children":null,"spread":false},{"title":"main.css <span style='color:#111;'> 393B </span>","children":null,"spread":false},{"title":"logo.svg <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"666.pdf <span style='color:#111;'> 9.75MB </span>","children":null,"spread":false},{"title":"888.pdf <span style='color:#111;'> 370.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"components","children":[{"title":"IframeViewer.vue <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"package.json <span style='color:#111;'> 570B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"favicon.ico <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"file-viewer3","children":[{"title":"assets","children":[{"title":"PptxRender-dce7f53f.css <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"ImageViewer-86ad1294.css <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false},{"title":"pdf.worker-909112bf.js <span style='color:#111;'> 1.11MB </span>","children":null,"spread":false},{"title":"PdfView-ea7f4226.js <span style='color:#111;'> 532.22KB </span>","children":null,"spread":false},{"title":"MarkdownViewer-07ff3033.js <span style='color:#111;'> 36.96KB </span>","children":null,"spread":false},{"title":"_commonjs-dynamic-modules-302442b1.js <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"XlsxTable-23e08fb8.js <span style='color:#111;'> 1.34MB </span>","children":null,"spread":false},{"title":"XlsxTable-0dea8fc3.css <span style='color:#111;'> 38.13KB </span>","children":null,"spread":false},{"title":"PdfView-89e0fbd8.css <span style='color:#111;'> 20.35KB </span>","children":null,"spread":false},{"title":"loading-43b144a3.gif <span style='color:#111;'> 47.28KB </span>","children":null,"spread":false},{"title":"worker-ref-fadf3283.js <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"docx-preview.min-6246d1ca.js <span style='color:#111;'> 172.23KB </span>","children":null,"spread":false},{"title":"index-1f7d529c.css <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"ImageViewer-1106b38d.js <span style='color:#111;'> 46.16KB </span>","children":null,"spread":false},{"title":"xlsx.worker-b50adc35.js <span style='color:#111;'> 1.13MB </span>","children":null,"spread":false},{"title":"MarkdownViewer-26784219.css <span style='color:#111;'> 22.53KB </span>","children":null,"spread":false},{"title":"xlsx-08add3c8.png <span style='color:#111;'> 14.78KB </span>","children":null,"spread":false},{"title":"index-0fd2d185.js <span style='color:#111;'> 122.61KB </span>","children":null,"spread":false},{"title":"PptxRender-3032ddac.js <span style='color:#111;'> 401.66KB </span>","children":null,"spread":false},{"title":"pptx.worker-762bd091.js <span style='color:#111;'> 432.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"favicon.ico <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 456B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"package-lock.json <span style='color:#111;'> 325.56KB </span>","children":null,"spread":false},{"title":"env.d.ts <span style='color:#111;'> 38B </span>","children":null,"spread":false},{"title":"vite.config.ts <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明