VS code 安装react-native代码提醒

上GitHub:https://github.com/Microsoft/vscode-react-native

Getting started

  • Install VS Code (0.10.10+ is preferred).
  • Install the extension in VS Code:
    1. Type F1, then ext install + Enter, wait a moment while the list of available extensions is populated
    2. Type react-native and select React Native Tools
    3. For more guidance view VS Code Extension Gallery
  • If you haven't already, install React Native:
    1. Run npm install -g react-native-cli to install React Native CLI (0.1.10+)
    2. Set up React Native (0.19+) using the steps detailed on the React Native getting started documentation
  • Open your React Native project root folder in VS Code.
    • Hint: you should create a .babelrc with sourceMaps = true and "presets": [ "react-native" ] for better source-mapping support. (required if you want TypeScript support)

Install the extension

打开vs code :

1.按下 F1 ,然后输入 install 回车

2.输入 react-native 然后选择 React Native Tools 安装,最后启用。

上一篇:Prometheus简介


下一篇:Prometheus监控系统(1)安装与配置详细教程