# vue-html-to-paper Vue mixin for paper printing html elements. ### Demo https://mycure-inc.github.io/vue-html-to-paper/ ### Install **NPM** ``` npm install vue-html-to-paper ``` **Yarn** ``` yarn add vue-html-to-paper ``` **CDN** ``` https://unpkg.com/vue-html-to-paper/build/vue-html-to-paper.js ``` ### Usage **main.js** ```javascript import Vue from 'vue'; import VueHtmlToPaper from 'vue-html-to-paper'; const options = { name: '_blank', specs: [ 'fullscreen=yes', 'titlebar=yes', 'scrollbars=yes' ], styles: [ 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css', 'https://unpkg.com/kidlat-css/css/kidlat.css' ] } Vue.use(VueHtmlToPaper, options); ``` See `window.open` API [here](https://www.w3schools.com/Jsref/met_win_open.asp). **component** ```html