[Dulan]
HomeProjectsAboutBlog

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

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.

24 Jun 2024
NuxtVueSSRWeb Development
25 Mar 2024 upd. 17 Aug 2026

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.

VueVue RouterJavaScript
12 Mar 2024 upd. 17 Aug 2026

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.

CSSJavaScriptWeb Development

SAY HELLO!

[email protected]
HomeProjectsAboutBlog

2024 © Dulan.K

–

Built with Nuxt & ThreeJS