v-pdf-builder
v1.0.2
Published
An HTML + CSS to PDF builder
Downloads
3
Readme
vue-pdf-builder
A Vue component for building PDFs from HTML.
Installation
npm i --save-dev v-pdf-builder
Browser
Include the script file, then install the component with Vue.use(VPdfBuilder);
e.g.:
<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/v-pdf-builder/dist/v-pdf-builder.min.js"></script>
<script type="text/javascript">
Vue.use(VPdfBuilder);
</script>
Module
import VPdfBuilder from 'v-pdf-builder';
Usage
Once installed, it can be used in a template as simply as:
<v-pdf-builder></v-pdf-builder>