本节将介绍如何在项目中使用 tiny-excel。
npm
npm i tiny-excel -S
引入 excel 组件
import Excel from "tiny-excel";
渲染
const app = document.querySelector("#app"); const excel = new Excel("test"); excel.mount(app);
← 安装 配置 →