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

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
主站蜘蛛池模板: 迭部县| 林西县| 贡山| 健康| 南陵县| 徐州市| 新建县| 柘荣县| 邛崃市| 和硕县| 万山特区| 临潭县| 柘城县| 东方市| 陕西省| 凤山市| 龙口市| 河津市| 栾城县| 志丹县| 贵南县| 琼结县| 华安县| 宣城市| 长治县| 定边县| 越西县| 五原县| 武汉市| 满城县| 上思县| 内江市| 怀化市| 新郑市| 长沙市| 南溪县| 乌海市| 喜德县| 闸北区| 顺昌县| 平安县|