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.

index.html

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

package.json - dependencies:

"@angular/common":  "2.0.0-rc.3",
"@angular/compiler":  "2.0.0-rc.3",
"@angular/core":  "2.0.0-rc.3",
"@angular/http":  "2.0.0-rc.3",
"@angular/platform-browser":  "2.0.0-rc.3",
"@angular/platform-browser-dynamic":  "2.0.0-rc.3",
"core-js": "2.4.0",
"reflect-metadata": "0.1.3",
"rxjs": "5.0.0-beta.6",
"zone.js": "0.6.12"

npm install - devDependencies:

typescript@1.8.10
typings@1.2.0
webpack@1.13.1
ts-loader@0.8.2
html-webpack-plugin@2.21.0
webpack-dev-server@1.14.1
raw-loader@0.5.1
cross-env@1.0.8
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.