vue-to-print
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

vue-to-print

You've created a Vue component and would love to give end users the ability to print out the contents of that component. This package aims to solve that by popping up a print window with CSS styles copied over as well.

npm npm NPM semantic-release: angular Netlify Status

What is this?

This is the Vue 3.x version of ReactToPrint.

Thanks to the contributors of ReactToPrint whose work made this package possible.

VueToPrint aims to be as consistent as possible with ReactToPrint so that you can use the same API. However, there are some differences due to the differences between Vue 3.x and React.

Documentation

Example

Open in StackBlitz

Thanks

JetBrains Logo (Main) logo

Thank JetBrains for providing an open-source license, which allows me to use such an excellent IDE.

License

FOSSA Status

Package Sidebar

Install

npm i vue-to-print

Weekly Downloads

1,735

Version

1.3.1

License

MIT

Unpacked Size

56.6 kB

Total Files

24

Last publish

Collaborators

  • abc1310054026