Blog

Model component with Vue3 Composition API in TypeScript

All we need is a modelValue prop, and a computed property to use as model where the set-method emits a “update:modelValue” event. Example component: Example usage:

Laravel Passport authorization with Inertia.js

But why? Passport by default only supports a blade template for the authorization view. The rest of the app I was working with was using Inertia.js, Vue3 and Tailwind CSS with component based styling, meaning the elements used in the blade template would not look and feel the same as the rest. So instead of […]