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;
- 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) OpenPackage 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/
- Install Emmet This plug-in mainly provides syntax for rapid development. To quickly write code with expressions, you need to master expressions.
- HTML-CSS-JS prettify This plugin mainly regulates the code format, and format
- AllAutocomplete is an automatic completion tool that can search all open tabs;
- Autocomplete Road King plugin AutoFileName
- 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
view
,Syntax -> Open all with current extension as... -> Babel -> JavaScript (Babel)
, select babel as default javascript open syntax