Jetstreams Inertia vue 3 setup... but with typescript
Jetstreams Inertia vue 3 setup... but with typescript
It took me hours to actually get this working... So to save my self future efforts and potentially anyone else, here's everything you need
Easiest way to get started:
npm install / yarn install
npm run dev / yarn dev
Latest changes:
this.$inertia.form({})
, so I converted the components which use this, to use vue3's setup script.<inertia-link>
since they removed this global component lately.Some minor changes I made:
I'm not sure if I missed/broken anything, if you find anything, let me know, or kindly submit a pr :)
I think for the most part, you should be able to directly copy everything into the root of your laravel application... but be sure to manually compare package.json - I included this so you have all necessary packages.