Skip to content

Instantly share code, notes, and snippets.

@mirkonasato
Last active April 12, 2017 19:08
Show Gist options
  • Save mirkonasato/5822686059d4ce4bdac83697ce7c89dc to your computer and use it in GitHub Desktop.
Save mirkonasato/5822686059d4ce4bdac83697ce7c89dc to your computer and use it in GitHub Desktop.
Angular 2 with Webpack Project Setup - Code Snippets

Angular 2 Starter

This file contains code snippets to be used while following the Angular 2 with Webpack Project Setup video tutorial.

You can find the full project in the angular2-course-webpack-starter repository.

index.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf­8">
    <title></title>
  </head>
  <body>
  </body>
</html>

package.json - dependencies:

"@angular/common": "2.0.1",
"@angular/compiler": "2.0.1",
"@angular/core": "2.0.1",
"@angular/forms": "2.0.1",
"@angular/http": "2.0.1",
"@angular/platform-browser": "2.0.1",
"@angular/platform-browser-dynamic": "2.0.1",
"@angular/router": "3.0.1",
"core-js": "2.4.1",
"reflect-metadata": "0.1.8",
"rxjs": "5.0.0-beta.12",
"zone.js": "0.6.25"

npm install - devDependencies:

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
@aberwag
Copy link

aberwag commented Nov 20, 2016

👍

@urvashiR
Copy link

npm run build not working... please help...

@UdayaKumar-Cheekireddy
Copy link

Thanks for the tutorial awesome explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment