Preparation and installation before ReactNative development

1. Preparation and precautions for ios development

  • The installation and configuration of the environment is explained in the official Chinese documentation. See: http://reactnative.cn/
  • The development tool uses sublime, and several plug-ins need to be installed before use; 
  1. Sublime itself does not have the function of managing plug-ins; you need to install the third-party plug-in management tool Package Control; 1) Open
    Package Control official website: https://packagecontrol.io/installation Find the command copy under the simple option; 2) Open
    Sublime->view->Show Console console, paste the command and press Enter; 3) You need to restart Sublime after installation; 4) Find preferences>
    Package Control->Install package Enter the name of the plug-in to install; plug-in introduction and sharing: http://blog.jobbole.com/79326/
  2. Install Emmet This plug-in mainly provides syntax for rapid development. To quickly write code with expressions, you need to master expressions.
  3. HTML-CSS-JS prettify This plugin mainly regulates the code format, and format
  4. AllAutocomplete is an automatic completion tool that can search all open tabs;
  5. Autocomplete Road King plugin AutoFileName
  6. Reactjs JSX is a good support plug-in introduction https://segmentfault.com/a/1190000003698071 ; 1) babel-sublime  supports ES6, React.js, jsx code highlighting, and also has good extensions for JavaScript and jQuery;  open after installation menu viewSyntax -> Open all with current extension as... -> Babel -> JavaScript (Babel), select babel as default javascript open syntax

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326993131&siteId=291194637