Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

commented Jul 10, 2016

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

Great videos on YouTube btw. !

@mentierd

This comment has been minimized.

Copy link

commented Aug 4, 2016

I watched your videos on youtube, awesome job!

@aberwag

This comment has been minimized.

Copy link

commented Nov 20, 2016

👍

@urvashiR

This comment has been minimized.

Copy link

commented Dec 16, 2016

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

@UdayaKumar-Cheekireddy

This comment has been minimized.

Copy link

commented Apr 12, 2017

Thanks for the tutorial awesome explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.