0.1.1 • Published 9 years ago

laravel-elixir-bower-io v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Laravel Elixir Bower

Version

Install

$ npm install laravel-elixir-bower-io --save-dev

Usage

This is a simple wrapper around Laravel Elixir. Add it to your Elixir-enhanced Gulpfile.

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

require('laravel-elixir-bower-io');


elixir(function(mix) {
	mix.Bower();
});

This defaults to the directory configured in ./.bowerrc or to ./bower_components when no .bowerrc could be found.

You can also specify a custom Bower directory:

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

require('laravel-elixir-bower-io');


elixir(function(mix) {
	mix.Bower('./my_bower_components');
});

By default gulp-bower runs install command for Bower. Using cmd property, you can specify the custom command. (e : update). Also you can pass property of custom directory, like so:

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

require('laravel-elixir-bower-io');


elixir(function(mix) {
	mix.Bower(
	{
		'directory' : './my_bower_components',
		'cmd' 		: 'update'
	});
});
0.1.1

9 years ago

0.1.0

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago