-
DocxJS是一个用于文档渲染的库
资源介绍
docxjs
Docx渲染库
演示
用法
<!--optional polyfill for promise-->
< script src =" https://unpkg.com/promise-polyfill/dist/polyfill.min.js " > </ script >
<!--lib uses jszip-->
< script src =" https://unpkg.com/jszip/dist/jszip.min.js " > </ script >
< script src =" docx-preview.min.js " > </ script >
< script >
var docData = < document> ;
docx.renderAsync(docData, document.getElementById("c