Skip to content

Template intellisense won't work when data() returns non-empty object #3872

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
pstatham-exp opened this issue Jan 22, 2024 · 1 comment
Closed
Labels
duplicate This issue or pull request already exists

Comments

@pstatham-exp
Copy link

pstatham-exp commented Jan 22, 2024

When using Volar + Vite + Quasar, the intellisense inside the <template> tags suddenly disables whenever values are supplied to data(). Below is my jsconfig.json (not using TypeScript):

{
  "compilerOptions": {
    "baseUrl": "./",
    "paths": {
      "@/*": ["./src/*"],
      "@assets/*": ["./src/assets/*"],
      "@api/*": ["./src/api/*"]
    }
  },
  "include": ["src/**/*"]
}

I am using Vue 3 with the Options API and have both Volar extensions installed.

See the images below:

image

image

@so1ve
Copy link
Member

so1ve commented Jan 23, 2024

Duplicate of #3690

@so1ve so1ve marked this as a duplicate of #3690 Jan 23, 2024
@so1ve so1ve closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
@so1ve so1ve added the duplicate This issue or pull request already exists label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants