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

under Vue

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>

under Vue

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

under Vue

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