Skip to content
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

Component red #1213

Closed
SelfMade2001 opened this issue Apr 18, 2022 · 3 comments
Closed

Component red #1213

SelfMade2001 opened this issue Apr 18, 2022 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@SelfMade2001
Copy link

Some components appear red without reason. I have just started a new laravel 9 jetstream inertia vue 3 project and want to use it without typescript. I have uninstalled Vetur and installed Volar (without the 2 additional typescript extensions)

The problem seems to disappear if I change <script setup> to <script setup lang="ts"> but then other errors occur because I do not use typescript and do not want to use typescript in this project. I have already reloaded vs code and restarted my computer.

The problem should be reproducible by installing laravel jetstream and selecting the inertia stack. Then look for example at resources/js/Pages/PrivacyPolicy.vue The "JetAuthenticationCardLogo" should not be displayed red, because it contains no error.

volar problem

@prestonholt
Copy link

prestonholt commented Apr 18, 2022

I also have this issue after upgrading from 0.33.10 to latest (0.34.7). Using latest VSCode and Node 16.14.2.

Edit: Component highlighting works for me in 0.34.4 but not in 0.34.5+

@SelfMade2001
Copy link
Author

Thank you, I was able to fix this issue temporarily by downgrading and restarting my computer. However the issue still occurs in the latest version 0.34.7

@johnsoncodehk
Copy link
Member

Duplicate of #1192

@johnsoncodehk johnsoncodehk marked this as a duplicate of #1192 Apr 20, 2022
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Apr 20, 2022
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

3 participants