vue-to-print
v1.5.1
Published
A Vue 3 component to print the content of an element or a component.
Maintainers
Readme
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.
What is this?
This is the Vue 3.x version of ReactToPrint.
Thanks to the contributors of
ReactToPrintwhose 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
Click any of the buttons below to start a new development environment to demo or contribute to the codebase without having to install anything on your machine:
Recommended
Untested
Thanks
Thank JetBrains for providing an open-source license, which allows me to use such an excellent IDE.
