mha
mha

Reputation: 637

Incorporating jsPDF to your already existing Vuetify project

I am trying to incorporate jsPDF to my already existing Vuejs project to generate PDF outputs. However when I run npm i jsPDF --save in the terminal it gives me an error saying:

npm ERR! code E404
npm ERR! 404 Not Found: jsPDF@latest

How do I fix this problem?

Upvotes: 0

Views: 556

Answers (2)

Francisco Hanna
Francisco Hanna

Reputation: 1137

Try with npm install jspdf --save instead of jsPDF since the name of a package is case sensitive.

Upvotes: 2

soupjake
soupjake

Reputation: 3449

The package on npm is under "jspdf" not "jsPDF" so:

npm install jspdf --save

Upvotes: 1

Related Questions