官术网_书友最值得收藏!

Preparing the development environment

The examples in this book will use both the web browser environment and the Node.js environment. While Node.js Version 8 and higher has support for ES6+, not all browser vendors have complete support yet for ES6+ features, and we will therefore be using Babel to transpile all of our code regardless.

This book will try its best to use the same project structure for all examples, whether they're executed on the command line in Node.js or run in the browser. Because we're attempting to standardize this project structure, not every project will use all of the features we set up in this section.

The tools you will need are:

  • Your favorite code editor, such as Vim, Emacs, Sublime Text, or WebStorm
  • An up-to-date web browser such as Chrome or Firefox
  • Node.js Version 8 LTS or higher; this book will use version 9.4.0 for all examples
  • The Yarn package manager (optional; you may use npm instead)
  • Various build tools such as Babel and Browserify
主站蜘蛛池模板: 建湖县| 富源县| 布尔津县| 吴川市| 郴州市| 桐柏县| 永安市| 花莲市| 霸州市| 永仁县| 公安县| 托克托县| 崇州市| 宁海县| 积石山| 嵩明县| 罗源县| 洛隆县| 太仆寺旗| 永州市| 贵南县| 瑞昌市| 柞水县| 高淳县| 康定县| 边坝县| 板桥市| 绥芬河市| 磐安县| 安阳县| 乐昌市| 个旧市| 崇文区| 祁门县| 元谋县| 红原县| 石阡县| 库车县| 香河县| 庄浪县| 鄂温|