Skip to content

Instantly share code, notes, and snippets.

@atinder
Forked from ericlbarnes/.bowerrc
Last active August 29, 2015 14:15
Show Gist options
  • Save atinder/e81e1669d186467f7017 to your computer and use it in GitHub Desktop.
Save atinder/e81e1669d186467f7017 to your computer and use it in GitHub Desktop.
{
"directory": "vendor/bower_components"
}
{
"name": "Laravel Application",
"dependencies": {
"bootstrap-sass-official": "~3.3.3"
}
}
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Less
| file for our application, as well as publishing vendor resources.
|
*/
var paths = {
'jquery': './vendor/bower_components/jquery/',
'bootstrap': './vendor/bower_components/bootstrap-sass-official/assets/'
}
elixir(function(mix) {
mix.sass("app.scss", 'public/css/', {includePaths: [paths.bootstrap + 'stylesheets/']})
.copy(paths.bootstrap + 'fonts/bootstrap/**', 'public/fonts')
.scripts([
paths.jquery + "dist/jquery.js",
paths.bootstrap + "javascripts/bootstrap.js"
], 'public/js/app.js', './');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment