[IDEA/WebStorm reports error when running Vue project]

  When using IDEA or WebStorm to run a Vue project, sometimes the code will explode. This is not a code error problem. This is because it does not comply with ESLint syntax.
IDEA display effect
  It’s really uncomfortable to watch the code go viral. You can choose to turn off ESLint syntax checking.

1. Taking WebStorm as an example, click “File” –> “Settings…”

Insert image description here

2.选择“Languages & Frameworks”–>“Code Quality Tools”–>“ESLint”–>“Disable ESLint”

Insert image description here

3. Turn off ESlint effects

  This way the code won’t go viral.
Insert image description here

Guess you like

Origin blog.csdn.net/qq_45278500/article/details/128131929