Learning about ES6/2015, the latest update for Javascript...
-
Serverside
- run
npm install -g babel-core
- add
require('babel-core)
to the index.js(already added in tut)
- run
-
Clientside
- run
npm install --save-dev babelify
- add to package.json
{ "transform": [["babelify", { "comments": false }]] }
- run
To spin up a http server i am using Budo but there are many other options out there such as http-server and Reload
To make the tutorial work you need to install budo by typing npm i -g budo
and then just npm start