React intellisense in Visual Studio Code

后端 未结 5 1962
忘了有多久
忘了有多久 2021-01-31 18:39

I\'m sure I\'m missing something simple, but I simply can\'t get React.js IntelliSense to work in Visual Studio code.

I have done the following:

  • npm
5条回答
  •  遇见更好的自我
    2021-01-31 19:06

    If you add an empty jsconfig.json file to your react project it will crash the build process. just fill it with something like

    {
      "compilerOptions": {
        "target": "es6"
      }
    }
    

提交回复
热议问题