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
- Host: GitHub
- URL: https://github.com/siaikin/vue-to-print
- Owner: siaikin
- License: mit
- Created: 2023-07-19T03:02:23.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2023-11-05T05:49:26.000Z (7 months ago)
- Last Synced: 2024-01-08T08:49:53.797Z (5 months ago)
- Topics: javascript, print, printer, typescript, vue3, webcomponents
- Language: TypeScript
- Homepage: https://vue-to-print.netlify.app/
- Size: 673 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-vue - vue-to-print - Print Vue 3 components in the browser. Supports Chrome, Safari, Firefox and EDGE. (Components & Libraries / UI Utilities)
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)