FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

setrar/angular2-webpack-ngmodule: Angular2, Webpack and Live NgModule example · GitHub

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular2-webpack-ngmodule

Angular2, Webpack and Live NgModule example

Why?

  • I like the angular-cli approach to generate components and tests
  • I like how webpack allows one to customize the deployment of the Angular SPA framework
  • While Google is still working on the webpack addon system
  Sorry but we will not expose the webpack confit(g) for various reasons. 
  An addon system is being designed that would allow such a thing but for the time being we won't expose it.

While waiting:

I read the documentation and tried to come up with an in-between example allowing me to make both tech working together

https://angular.io/docs/ts/latest/guide/webpack.html https://angular.io/docs/ts/latest/guide/ngmodule.html

the project demonstrates one version of Google's LIVE example

https://angular.io/resources/live-examples/ngmodule/ts/pre-shared.3.eplnkr.html

How to:

  • clone the project
  • install the modules
$ npm install
  • run the project
$ npm start

About

Angular2, Webpack and Live NgModule example

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL