Home > Development Tools > VSCode > body text

How to deal with errors when writing react in vscode

藏色散人
Release: 2020-03-31 09:28:38
Original
2853 people have browsed it

How to deal with errors when writing react in vscode

#What should I do if I get an error when writing react in vscode?

I have been studying by myself recently. When I build a project with vscode according to the tutorial on the official website, when crtl s is saved, the following syntax error is reported. I have studied for a long time, starting from eslint to building the .eslintrc file and configuring it. Finally, an error was reported. Finally, I saw a solution in a reply on a forum

How to deal with errors when writing react in vscode

Finally, I saw a solution in a reply on a forum: At least no errors are reported now. As for the reason why now Still researching. . . .

How to deal with errors when writing react in vscode

Click on javaScript and a selection language mode will appear

How to deal with errors when writing react in vscode

Select javaScript React and then no error will be reported in crtl s, only for reference. . . . .

Recommended learning: vscode tutorial

The above is the detailed content of How to deal with errors when writing react in vscode. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!