blog _
My blog is where I talk about full-stack development, Vue.js, JavaScript, Nuxt and other software engineering adventures. Come along for some tips, tricks, and personal stories.
Latest
MSAL Authentication in Vue 3: A Practical Guide
Set up Microsoft Entra ID authentication in Vue 3 with vue3-msal-plugin and MSAL Browser v4: app registration, login, access tokens, route guards, and Nuxt.

useFetch vs useAsyncData: A Practical Guide to Nuxt Data Fetching
When to use useFetch, useAsyncData, useLazyAsyncData, and plain $fetch in Nuxt, what the server and lazy options actually do, and the Nuxt 4 changes that break Nuxt 3 code.
Handling v-html Links with Vue Router in Vue 3
Links rendered with v-html reload the whole app instead of routing. Fix it with one delegated click listener in Vue 3, guard the edge cases, and sanitize the HTML.
Preventing Layout Shifts When Opening a Modal
Locking body scroll for a modal removes the scrollbar and shifts the page sideways. scrollbar-gutter fixes it in one line, and here is the JavaScript fallback for the cases it misses.