Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/siaikin/vue-to-print

Print Vue components in the browser. Supports Chrome, Safari, Firefox and EDGE
https://github.com/siaikin/vue-to-print

javascript print printer typescript vue3 webcomponents

Last synced: about 1 month ago
JSON representation

Print Vue components in the browser. Supports Chrome, Safari, Firefox and EDGE

Lists

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.

![npm](https://img.shields.io/npm/v/vue-to-print?style=flat-square)
![npm](https://img.shields.io/npm/dm/vue-to-print?style=flat-square)
![NPM](https://img.shields.io/npm/l/vue-to-print?style=flat-square)
[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release&style=flat-square)](https://github.com/semantic-release/semantic-release)
[![Netlify Status](https://api.netlify.com/api/v1/badges/133df312-97ec-411b-816e-52ee0bd49808/deploy-status?style=flat-square)](https://app.netlify.com/sites/vue-to-print/deploys)

## What is this?

This is the Vue 3.x version of [ReactToPrint](https://github.com/gregnb/react-to-print).

> Thanks to the [contributors](https://github.com/gregnb/react-to-print/graphs/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

- [Online Documentation](https://vue-to-print.netlify.app/)

## Thanks
![JetBrains Logo (Main) logo](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg)
> Thank JetBrains for providing an [open-source license](https://jb.gg/OpenSourceSupport), which allows me to use such an excellent IDE.

## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsiaikin%2Fvue-to-print.svg?type=large&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2Fsiaikin%2Fvue-to-print?ref=badge_large&issueType=license)