如何在 Visual Studio 代码中配置 react、jsx 和 babel?

How to configure react, jsx, and babel in Visual Studio Code?

我想开始使用 jsx 和 Babel 学习 ReactJs。我的编辑器是 Visual Studio 代码。我需要将它们配置为在 VSCode 中协同工作,但在 Google 和 Whosebug 中搜索后,我发现了不同框架和平台的分散内容。在 VSCode 中是否有任何资源可以学习逐步配置和使用 react?

非常感谢

我在 GitHub 中找到了 babel-standalone。

babel-standalone is a standalone build of Babel for use in non-Node.js environments, including browsers. It's bundled with all the standard Babel plugins and presets, and a build of babili (babel-minify) is optionally available too.

使用babel-standalone我们可以在浏览器中编译出JavaScript个jsx格式的文件。易于安装和使用。