Type error with pnpm
and Laravel vue-starter-kit
#850
-
Beta Was this translation helpful? Give feedback.
Answered by
mrleblanc101
Jun 16, 2025
Replies: 2 comments
-
I should mention that Ziggy types are added from export type AppPageProps<T extends Record<string, unknown> = Record<string, unknown>> = T & {
...
ziggy: Config & { location: string };
...
};
export type AppPageProps<T extends Record<string, unknown> = Record<string, unknown>> = T & {
auth: {
user: User;
};
ziggy: Config & { location: string };
flash: Flash
}; |
Beta Was this translation helpful? Give feedback.
0 replies
-
I had to add |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mrleblanc101
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had to add
.npmrc
withpublic-hoist-pattern[]=@inertiajs/core