this.$inertia undefined in vue typescript component #574
Unanswered
Sairahcaz
asked this question in
Help (Vue)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a clean Inertia+Vue3 steup.
Now I want to use TypeScript also.
I installed the ts-loader and typescript.
My app.ts file gets compiled properly and I can use typescript syntax.
But now if I change my vue-component to typescript it seams this.$inertia is undefined.
Beta Was this translation helpful? Give feedback.
All reactions