Skip to content

Augment vue instead of @vue/runtime-core #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

justinaskav
Copy link
Contributor

Hi, @xiCO2k, thanks for developing a great package!

As already pulled in other packages, e.g. primefaces/primevue#6199, inertiajs/inertia#2099, it seems that the augmentations with custom properties should use the 'vue' module instead of '@vue/runtime-core'. Also, it is documented on the Vue.js page.

For me it caused an issue with my Inertia app dev experience, where my $page property had lost its type in Vue SFC template. It seems it has been resolved with this commit (at least for me).

Cheers!

justinaskav added a commit to vu-sa/vusa.lt that referenced this pull request Jan 24, 2025
Created pull request to permanently fix issue: xiCO2k/laravel-vue-i18n#197
@xiCO2k
Copy link
Owner

xiCO2k commented Jan 27, 2025

Thanks for that.

@xiCO2k xiCO2k merged commit 74248d4 into xiCO2k:main Jan 27, 2025
1 check passed
@dotted
Copy link

dotted commented Mar 20, 2025

I'm having the same problem, could this change be published as a new release please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants