Laravel Elixir is a library for Laravel that provides an API for defining basic Gulp streaming build system tasks. It is included with the base install of Laravel 5.
Questions tagged [laravel-elixir]
411 questions
0
votes
1 answer
How to automatically remove compiled styles after they're versioned in Elixir?
I use Laravel Elixir to merge and minify stylesheets. The problem is when I use versioning, it creates two identical…

stil
- 5,306
- 3
- 38
- 44
0
votes
1 answer
Elixir + Gulp + Laravel with differents JS inclusions depending on URL
I'd like to begin use Elixir + Gulp. In my project, I just use CSS + JS.
Today, I use it like that: I have a dashboard.blade.php that I include in all files.
Then, I have a conditional include for each libs depending on the page:
@if…

Juliatzin
- 18,455
- 40
- 166
- 325
0
votes
1 answer
Bug elixir gulp --production angularjs
I working with Laravel 5 and Angularjs, Laravel 5 uses Gulp for schedule asset's task and all work fine when use gulp's command, but when I use gulp --production's command and gulp minimize the Angularjs library, the console's chrome output:…

roliva
- 49
- 6
0
votes
0 answers
Laravel elixir always error when install and Gulp error
I try to install laravel elixir (version ^4.0.0), every time i install it always have this error:
And everytime i run the gulp:
I've tried install using npm install --no-bin-links but still no luck.
My gulpfile.js:
var elixir =…

ssuhat
- 7,387
- 18
- 61
- 116
0
votes
1 answer
npm install puts tons of modules while I only need two, what's going on?
this is my package.json
{
"private": true,
"devDependencies": {
"gulp": "^3.9.0",
"laravel-elixir": "*"
"bootstrap-sass": "^3.0.0"
}
}
I do npm install and what I get are 800 (eight hundreds) modules from "abbrev" to "yeast". What…

Chriz74
- 1,410
- 3
- 23
- 47
0
votes
2 answers
Laravel using UIkit
I've created new project on my local XAMPP server using composer
composer create-project laravel/laravel ad dev-develop
then I installed UIkit via composer
composer require uikit/uikit
and I got UIkit in vendor folder in my project
But I don't…

Heidel
- 3,174
- 16
- 52
- 84
0
votes
0 answers
Ignore dependencies inside Browserify require
The problem I am having is using moment js in combination with a bootstrap date picker plugin (http://eonasdan.github.io/bootstrap-datetimepicker/).
I am using Laravel Elixir Version 3 and Gulp to broswerify:
elixir(function (mix) {
mix
…

Hard-Boiled Wonderland
- 1,359
- 3
- 17
- 32
0
votes
1 answer
Laravel 5.2 Elixir
I am using laravel 5.2 and I've successfully create all.css in public/css folder using gulp.
but when I try to use all.css in view admin.login using following line of code as defined in laravel 5.2 documentation and it not works

Shoaib Rehan
- 526
- 6
- 16
0
votes
0 answers
Webpack compilation gives error on src attribute
I'm using VueJS and in order to bind the src attribute, you do something similar to this:
or
:src="image"
However, whenever I run webpack and it compiles, I get this error:
ERROR in
…

HaleyBuggs
- 915
- 3
- 13
- 29
0
votes
1 answer
How install laravel-elixir-livereload on laravel5
I installed step by step from https://www.npmjs.com/package/laravel-elixir-livereload
but it doesn't work.
npm install --save-dev laravel-elixir-livereload
Next, I added it to my Elixir-enhanced Gulpfile, like:
var elixir =…

Amir Hosseinzadeh
- 7,360
- 4
- 18
- 33
0
votes
0 answers
Combine Javascript and Coffeescript using Laravel Elixir
In my Laravel project I have a number of javascript files and a number of coffeescript files. They're stored in the following structure:
resources/assets/js/jquery.min.js
resources/assets/js/jquery.form.js
resources/assets/coffee/main.coffee
What I…

Jonathon
- 15,873
- 11
- 73
- 92
0
votes
1 answer
Elixir sass not working with @imports
I have a main entry point called frontend.scss, which has a few @imports.. usual stuff.
When I run gulp, they all compile fine. But when I run gulp watch, it only sees changes in the main entry point (frontend.scss) and not any of the @imports. Is…

Bravi
- 713
- 2
- 8
- 29
0
votes
0 answers
Laravel Elixir not working properly on Ubuntu
I have simple SCSS file:
@import '../template_outgame.scss';
div#main-container {
div#content {
div#inside {
table#games-table {
tr {
th {
@extend .text-center;
…

ventaquil
- 2,780
- 3
- 23
- 48
0
votes
1 answer
Laravel Elixir change PHPSpec binary path
Ok, currently adding a task to run PHPSpec tests via Laravel Elixir is not working for me because I changed my composer file to store all binary applications under my ./bin folder instead of ./vendor/bin and by default the PHPSpec task looks for the…

Peter Fox
- 1,809
- 2
- 20
- 34
0
votes
0 answers
Gulp isn't versioning my files anymore. I haven't changed anything, though?
Throughout the past two days I've been stuck on this bug with Gulp. I have a Laravel 5 application.
The problem is I keep updating resources/assets/sass/Dashboard.scss with new declarations but they don't update in assets/build/css/. I can't get rid…

IIllIIll
- 504
- 8
- 25