laravel-elixir-ng-templates
Simple extension to laravel elixir that concatenates and registers AngularJS templates in the $templateCache
.
Install
npm install --save laravel-elixir-ng-templates
Usage
Example Gulpfile:
var elixir = ; ; ;
Arguments
source
:
- a globbing path that is passed to
gulp.src()
- defaults to
resources/assets/templates/**/*.html
output
:
- output directory for the compiled file
- defaults to
resources/assets/js/templates.js
options
:
- options object for
gulp-angular-templatecache
- for a list of options check their docs
Advanced example
;
TODO
- watch
- sourcemaps (?)