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

v-for="type in ..." breaks syntax highlighting #1290

Closed
lackneets opened this issue May 11, 2022 · 2 comments
Closed

v-for="type in ..." breaks syntax highlighting #1290

lackneets opened this issue May 11, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@lackneets
Copy link

Related to #1281

When type as a iterator variable, it breaks everything below, includes <style> but <script> tag

2022-05-11 13 50 25
CleanShot 2022-05-11 at 13 55 42@2x

@johnsoncodehk
Copy link
Member

johnsoncodehk commented May 29, 2022

Hi @lackneets, this is typescript syntax highlight issue, you can use v-for="(type) in mainMenu" instead of to avoid.

@johnsoncodehk
Copy link
Member

Duplicate of #520

@johnsoncodehk johnsoncodehk marked this as a duplicate of #520 May 29, 2022
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Jun 4, 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

2 participants