GIGrace Itiungingrace152.hashnode.devUnderstanding Provide and Inject in Vue Vue 3 also makes patterns like provide/inject and composables easier to use intentionally. As Vue applications grow, one question comes up again and again: “How do I share data deeply without passin3d ago·4 min read
GIGrace Itiungingrace152.hashnode.devUnderstanding Composables in Vue 3One of the most powerful ideas introduced with Vue 3 is composables. You’ll hear people say things like “extract it into a composable” or “just use VueUse,” and at first, it can feel abstract. But comMar 4·6 min read
YLYou-Lun Lininurlun0404.hashnode.devVue: readonly的代理坑最近寫composable要 return 響應式變數,因為希望外部在使用這個composable的時候不要去改動到這個響應式變數,故使用 readonly 去包覆這個響應式變數: // useComposable.js import { readonly } from "vue"; export default useComposable(){ const nested = reFeb 26·1 min read
YLYou-Lun Lininurlun0404.hashnode.devPinia: 在Vue元件以外安全地使用pinia最近才發現Pinia跟React全域狀態管理的使用方式不一樣,有個很方便的特性是,如果要在Vue元件以外使用,只要pinia store是在 app.use(pinia) 後呼叫即可使用,其中更能確保pinia store被呼叫的方式是──在函式(function)內使用: The easiest way to ensure this is always applied is to defer Feb 25·1 min read
GIGrace Itiungingrace152.hashnode.devVue 2 vs Vue 3: What Actually ChangedOne of the biggest reasons Vue 3 feels intimidating is that people assume everything changed. In reality, a lot stayed familiar. What changed most is how Vue wants you to think about structure, scale,Feb 20·3 min read
NVNguyễn Việt Tùngindevpath-traveler.nguyenviettung.id.vnPasswordless: What Worked, What Didn’t, What I’d ChangeWhen designing a passwordless-first PWA architecture, the diagram looks elegant. In production, elegance collides with: Browser inconsistencies Institutional identity constraints Support tickets Device lifecycle chaos Monitoring blind spots Le...Feb 19·5 min read
RIRakibul Islaminblog.qubartech.comGetting Started with Tailwind CSS and Vue.jsThis comprehensive guide will walk you through setting up a Vue.js project with Tailwind CSS, a popular utility-first CSS framework. By the end of this tutorial, you'll have a fully configured development environment ready for building modern web app...Feb 18·6 min read
NVNguyễn Việt Tùngindevpath-traveler.nguyenviettung.id.vnIntegrating OIDC (Feide) as Fallback and RecoveryWebAuthn gave us phishing-resistant, device-bound authentication.But devices get lost. Browsers reset. Users switch laptops. Institutions manage identities centrally. That’s where OIDC (Feide) enters — not as a competitor to passwordless, but as stru...Feb 18·6 min read
NVNguyễn Việt Tùngindevpath-traveler.nguyenviettung.id.vnImplementing WebAuthn in PracticeWebAuthn looks deceptively simple at a high level: Generate challenge Call browser API Verify signature Done In practice, it is not that simple. WebAuthn is cryptographically elegant but operationally unforgiving.Small mistakes create subtle se...Feb 17·7 min read
NVNguyễn Việt Tùngindevpath-traveler.nguyenviettung.id.vnPasswordless PWA Flow Architecture WalkthroughModern authentication diagrams are clean. Real systems are not. My architecture intentionally combines: WebAuthn (FIDO2) for phishing-resistant authentication Feide (OIDC) for federated identity, recovery, and bootstrap SQL Server for credential p...Feb 16·6 min read