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

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
主站蜘蛛池模板: 茌平县| 眉山市| 泽库县| 闽清县| 康乐县| 武山县| 田东县| 昌江| 阿鲁科尔沁旗| 宣恩县| 汽车| 尚义县| 岫岩| 西昌市| 武乡县| 郓城县| 平遥县| 奇台县| 镇原县| 河北区| 绵阳市| 平利县| 军事| 东山县| 德州市| 金川县| 鄂伦春自治旗| 辛集市| 筠连县| 库车县| 乌拉特前旗| 思南县| 塘沽区| 宜都市| 建始县| 桓仁| 元朗区| 蒲城县| 大关县| 保定市| 钟祥市|