Hi Vincent,
All I could remember watching was these in terms of sort of classes in the way you want.
- https://laracasts.com/series/learn-vue-3-step-by-step/episodes/23
- https://laracasts.com/series/learn-vue-3-step-by-step/episodes/27
Not sure if it is the step forward you were looking for.
For me using Laravel/Inertia/Vue combo makes those prop calls with the only flag too easy to think about storing any classes on the client side. Besides, having the classes defined on the client side in a js file might be a security issue as well.
Just my thoughts on this.
Best regards,
Mega Aleksandar