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 安装,最后启用。

 

posted @ 2016-11-30 10:11  嘆世殘者——華帥  阅读(2921)  评论(0编辑  收藏  举报