Owen Conti

Category: Vue

How to use Persistent Layouts with Inertia and Vue 3 Setup Script Syntax

Posted on under Vue by Owen Conti.

Here's a quick way you can support persistent layouts with Vue 3's setup script syntax.

How to Forward Refs with Vue 3 and <script setup>

Posted on under Vue by Owen Conti.

Forwarding refs when using <script setup> in Vue 3 is a bit tricky due to some magic happening behind the scenes

Validating Props in Vue

Posted on under Vue by Owen Conti.

Use Vue's built-in prop validators to validate your component's props.