fix: 添加导出pdf的插件

This commit is contained in:
喻希里 2017-11-08 11:15:01 +08:00
parent a308a6d450
commit b445b09452
2 changed files with 1 additions and 3 deletions

View File

@ -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);

View File

@ -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",