ask-vue-mechanic
Installation
SKILL.md
<critical_constraints>
❌ NO <a href=""> → use <Link> to prevent full page reload
❌ NO destructuring props → loses reactivity, use toRefs(props) or props.name
❌ NO forgetting .value → count.value++ not count++
✅ MUST trace upstream to Laravel Controller for missing props
✅ MUST run php artisan optimize:clear after route changes
</critical_constraints>
<silent_reload_fix>
Symptom: Full page refresh (white flash) on link click
Cause: Used <a> tag instead of Inertia Link
Fix: <Link href="/users"> instead of <a href="/users">
</silent_reload_fix>
<prop_tunnel_debug>
- Vue DevTools → inspect Inertia root component props
- Check Laravel Controller → is data passed in
Inertia::render()? - Check
HandleInertiaRequestsmiddleware for global data </prop_tunnel_debug>