Skip to content

Crinsane/laravel-elixir-bower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

laravel-elixir-bower

Elixir Wrapper Around Bower

var elixir = require('laravel-elixir');

require('laravel-elixir-bower');

elixir(function(mix) {
    mix.bower()
       .routes()
       .events();
});

This will scan your bower files and concat all css files, by default, in a css/vendor.css file. And all js files in a js/vendor.js file.

These settings can be overwriten by passing them to the bower() function.

elixir(function(mix) {
    mix.bower('styles.css', 'public/assets/css', 'scripts.js', 'public/assets/js');
});

About

Elixir Wrapper Around Bower

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published