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
It must be caused by the change:
- declare module 'vue' { + declare module '@vue/runtime-core' {
Because rollback will make intellisense work.
The text was updated successfully, but these errors were encountered:
cefed1e
Besides Volar's support, another requirement is you can access the package like '@vue/runtime-core' (even if you can't, it won't warn).
You can achieve that by:
shamefully-hoist=true
.npmrc
@johnsoncodehk You may need to declare this in your plugin introduction page, like here.
Reference: shamefully-hoist.
Sorry, something went wrong.
Besides Volar's support, another requirement is you can access the package like '@vue/runtime-core' (even if you can't, it won't warn). You can achieve that by: add the package directly (as devDependence) setting shamefully-hoist=true in .npmrc (for pnpm project) @johnsoncodehk You may need to declare this in your plugin introduction page, like here. Reference: shamefully-hoist.
Thanks! I‘m using pnpm, so packages aren‘t hoisted by default. This should be added to the docs indeed.
No branches or pull requests
It must be caused by the change:
Because rollback will make intellisense work.
The text was updated successfully, but these errors were encountered: