PDF Generation and Download in Laravel-Vue By Snappy

In this guide, we’ll explore how to implement a robust PDF generation and download system using Laravel for the backend and Vue.js for the frontend. We’ll specifically focus on generating purchase order PDFs using the wkhtmltopdf library through Laravel Snappy. Prerequisites Setting Up Laravel Snappy First, install the Laravel Snappy package I’m assuming that you … Read more

Introduction to Vue’s Composition API for a Newbie

I’m a newbie to Vue.js, and as I was learning about its amazing features, I thought I should share all of this on my blog. Vue.js is a great and impressive framework. Initially, I found it easier to learn than React.js because it has a predefined structure that is more convenient and does not rely … Read more

Optimizing Vue Performance with Prop Stability

In Vue.js, the component will re-render whenever a child component’s props change. This simple concept leads us to a crucial best practice that can significantly enhance our app’s performance: prop stability. What is Prop Stability? Prop stability means keeping the props passed to a component stable, so they don’t change frequently. This helps to avoid … Read more