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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM