Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ufodisko's avatar

Install Jetstream (Inertia/Vue) with Options API instead of Composition API

I installed Jetstream (latest version) on a fresh copy of Laravel (latest version) and I used Inertia.

But Jetstream comes with Composition API by default which I am not used to working with, I very much prefer Options API.

Is there a way to install Jetstream Inertia but with Options API instead of Composition?

0 likes
1 reply
scottHellings88's avatar
Level 1

Looking through the laravel/jestream repo they added in support for vue 3 composition api in version 2.2.0 the options api and vue version 2 was used on releases before this, this is the last release before they added vue 3

https://github.com/laravel/jetstream/releases/tag/v2.1.4

you could download the source code and use it as a refence to convert the current version of the jetstream inertia views to the options api style

Please or to participate in this conversation.