TypeScript Error – Property route does not exist on Component Instance #827
Unanswered
valentinhttr
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Are you using the npm package or do you have |
Beta Was this translation helpful? Give feedback.
2 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I’m encountering a TypeScript error when I try to access the global
routefunction injected by Ziggy in my Vue 3 project, especially in the<template></template>tags:It seems to be a typing problem, because the autocomplete is there and it suggests my routes, but there's still this error.
Here is my
global.d.ts:I'm using vue 3.5.13
Any idea please?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions