Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
vuetify-pdfjs
Advanced tools
nice but Simple PDF viewer. Needs vuetify@2 and @mdi/js.
This project demonstrates how a simple PDF viewer could be implemented using Vue, Vuetify and PDF.js. This is not a fully-featured PDF document viewer with sophisticated controls, but could serve as the basis for one.
1.2.3 : Blurred pages corrected. 1.2.4 : Correct paginator color. 1.2.5 : Update vue version to 2.7.14.
To install the plugin inside your project :
$ npm install vuetify-pdfjs
$ npm install vuetify
$ npm install @mdi/js -D
And, in your main.js file :
import Vuetify from "vuetify";
Then, copy this code where you want inside you project :
<template>
<v-carousel :show-arrows="false" :hide-delimiters="true" class="carousel">
<VuetifyPdf
:url="url"
/>
</v-carousel>
</template>
<script>
import VuetifyPdf from "vuetify-pdfjs/src/App.vue";
export default {
components: {
VuetifyPdf
},
data: () => ({
url:'https://cors-anywhere.herokuapp.com/YourUrl.pdf'
})
}
</script>
<style>
.carousel {
background-color: #606f7b;
}
</style>
FAQs
Nice but simple PDF viewer with vuetify
We found that vuetify-pdfjs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.