Skip to content

Instantly share code, notes, and snippets.

@mirkonasato
Last active April 12, 2017 19:08
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • 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:

typescript@2.0.3
typings@1.4.0
webpack@1.13.2
ts-loader@0.8.2
html-webpack-plugin@2.22.0
webpack-dev-server@1.16.1
raw-loader@0.5.1
cross-env@3.0.0
@gruentee
Copy link

webpack version 1.14.1 doesn't seem to exist (anymore?).
Maybe this was a typo?

Great videos on YouTube btw. !

@mainfraame
Copy link

I watched your videos on youtube, awesome job!

@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