mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-18 13:04:46 +08:00
fix: 添加导出pdf的插件
This commit is contained in:
parent
a308a6d450
commit
b445b09452
@ -7,9 +7,6 @@ const markdownItAnchor = require("markdown-it-anchor");
|
||||
const markdownItTableOfContents = require("markdown-it-table-of-contents");
|
||||
const defaultTheme = require("./defaultTheme.js");
|
||||
const htmlToPdf = require("html-pdf");
|
||||
// const nodeWkhtmltopdf = require("node-wkhtmltopdf");
|
||||
// const conversion = require("phantom-html-to-pdf")();
|
||||
// const pdfkitjs = require("pdfkitjs");
|
||||
class exportController extends baseController{
|
||||
constructor(ctx){
|
||||
super(ctx);
|
||||
|
@ -46,6 +46,7 @@
|
||||
"mongoose-auto-increment": "^5.0.1",
|
||||
"nodemailer": "^4.0.1",
|
||||
"ora": "^1.3.0",
|
||||
"phantom-html-to-pdf": "^0.5.5",
|
||||
"randexp": "^0.4.6",
|
||||
"request": "^2.81.0",
|
||||
"sha1": "^1.1.1",
|
||||
|
Loading…
Reference in New Issue
Block a user