You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ html2pdf converts any webpage or element into a printable PDF entirely client-si
6
6
7
7
There are two ways to install html2pdf:
8
8
9
-
1.**NPM:** Use `npm install --save html2pdf` to add html2pdf and its dependencies to your project.
9
+
1.**NPM:** Use `npm install --save html2pdf.js` to add html2pdf and its dependencies to your project.
10
10
2.**HTML:** Download `dist/html2pdf.bundle.min.js` to your project folder and include it in your HTML with: `<script src="html2pdf.bundle.min.js"></script>`.
11
11
12
12
Once installed, html2pdf is ready to use. This command will generate a PDF of `#element-to-print` and prompt the user to save the result:
0 commit comments