Skip to content

codecoo/angular2-starter-with-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Installation AngularJs2

quick start angularjs2 follow instruction https://angular.io/docs/ts/latest/quickstart.html and manual install cor-js

$ node_modules/.bin/typings install --global --save dt~core-js                                    

to compile all typescript

$ node_modules/.bin/tsc --rootDir src --outDir dist      

##Installation Webpack

$ npm install webpack --save-dev

download typescript loader

$ npm install ts-loader --save-dev

##Usage

$ node_modules/.bin/webpack --progress

build html to dist

$ npm install --save-dev html-webpack-plugin

set environment to mode development

$ npm install --save-dev webpack-dev-server 

About

Project template for AngularJS2 with WebPack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published