Skip to content

Property X does not exist on type CreateComponentPublicInstanceWithMixins #1289

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

Closed
ziadsarour opened this issue Apr 18, 2025 · 3 comments · Fixed by #1290
Closed

Property X does not exist on type CreateComponentPublicInstanceWithMixins #1289

ziadsarour opened this issue Apr 18, 2025 · 3 comments · Fixed by #1290

Comments

@ziadsarour
Copy link

ziadsarour commented Apr 18, 2025

Describe the bug
Type error in <template> because @vue/runtime-core is augmented instead of vue. See : nuxt/nuxt#28707 (comment)

To Solve
Replace declare module '@vue/runtime-core' by declare module 'vue' in

declare module '@vue/runtime-core' {

ziadsarour added a commit to ziadsarour/nuxt-booster that referenced this issue Apr 18, 2025
@ThornWalli
Copy link
Contributor

@ziadsarour You can test it here

npm i https://pkg.pr.new/basics/nuxt-booster@1290.

Thank you!

@ziadsarour
Copy link
Author

@ThornWalli Working great, thank you !

@ziadsarour
Copy link
Author

I talked too fast :/
There are new errors now when used inside my project :

ERROR  Pre-transform error: [unimport] failed to find "useBoosterHead" imported from "#imports"
  Plugin: nuxt:imports-transform
  File: /Users/ziad/Documents/Projets/XXXX/packages/nuxt/global/.playground/.nuxt/nuxt-booster/plugin.client.js

ERROR  Pre-transform error: [unimport] failed to find "useBoosterCritical" imported from "#imports"
  Plugin: nuxt:imports-transform
  File: /Users/ziad/Documents/Projets/XXXX/packages/nuxt/global/node_modules/.pnpm/nuxt-booster@https+++pkg.pr.new+basics+nuxt-booster@1290_@netlify+blobs@8.2.0_browsersl_5e7fded26818f666f608f2443d5979c7/node_modules/nuxt-booster/dist/runtime/components/BoosterPicture.vue

ERROR  Pre-transform error: [unimport] failed to find "useBoosterCritical" imported from "#imports"
  Plugin: nuxt:imports-transform
  File: /Users/ziad/Documents/Projets/XXXX/packages/nuxt/global/node_modules/.pnpm/nuxt-booster@https+++pkg.pr.new+basics+nuxt-booster@1290_@netlify+blobs@8.2.0_browsersl_5e7fded26818f666f608f2443d5979c7/node_modules/nuxt-booster/dist/runtime/components/BoosterImage.vue

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