Skip to content

This is sort of a shrine to what was cutting edge front-end in 2014. Simple template with webpack (run from gulp) that supports angular (from bower), with some common settings.

jeffling/angular-webpack-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Webpack + Angular + Bower + Gulp

Gitter

This template is kept bare-bones on purpose. If you have any questions or need advice on folder structure feel free to make an issue

Minimal boilerplate with webpack (run from gulp) that supports angular (from bower), with some common settings.

It uses coffeescript, but you could very easily use the same configuration by stripping out the coffee loaders.

It uses https://github.com/segmentio/khaos to generate the template.

npm install -g khaos
khaos create jeffling/angular-webpack-example <your project name>

What it has

  • webpack configured with the bower path included bower/<module name>
  • angular. Globally loaded
  • karma. looks for .spec.coffee files.

Optional stuff:

  • facebook/flo for live reloading in the browser.
  • SASS loader

We use something close to this at @BenchLabs. It allows us to compose our entire app from strictly isolated angular modules. http://labs.bench.co/2015/1/21/componentized-angular

About

This is sort of a shrine to what was cutting edge front-end in 2014. Simple template with webpack (run from gulp) that supports angular (from bower), with some common settings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published