-
Clone the starter repo AngularClass/angular2-webpack-starter and then
cd
into your local directory. -
Install angular2-esri-loader
npm install angular2-esri-loader --save
# optional, if you want type support in your IDE for JSAPI 4.x
npm install @types/arcgis-js-api --save-dev