Closed tgmarinho closed 6 years ago
I saw someone using:
const jsPDF = require('jspdf'); require('jspdf-autotable');
But I have a project in ES6, so, I want to use import/export
like as:
import jsPDF from 'jspdf'; import { autotable } from "jspdf-autotable";
But, I think, I don't need to use jspdf because when I did download of the jspdf-autotable, jspdf coming together, right?
Project -> Node/Meteor, without webpack, React, JS ES6++, etc...
Simple:
import jsPDF from 'jspdf'; import 'jspdf-autotable';
I saw someone using:
But I have a project in ES6, so, I want to use import/export
like as:
But, I think, I don't need to use jspdf because when I did download of the jspdf-autotable, jspdf coming together, right?
Project -> Node/Meteor, without webpack, React, JS ES6++, etc...