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.
1
vote
2answers
2k views
Laravel Elixir: Gulp won't compile Bootstrap Sass files
So I started with Laravel 5, Elixir and Bower and followed the guide published on laravel-news.
I managed to compile all scripts but Gulp won't compile the Bootstrap Sass files even if it says ...
3
votes
1answer
89 views
Laravel elixir compile multiple less files
I have this two files in resources/assets/less folder style.less and admin/style.less. I want to compile this files to diffrent paths as the following:
style.less compiled to public/css/
and the ...
1
vote
1answer
159 views
gulp watch fail with using sass in Laravel5
I'm using Laravel 5 and I want use sass.
I changed gulpfile.js from less to sass.
var elixir = require('laravel-elixir');
/*
...
0
votes
1answer
70 views
Laravel Elixir Gulp mix two separate less files
In Laravel 5 I am trying to create two different css files for my frontend site and backend site (cms). The source files are in two different directories.
The default value for assets in
first the ...
0
votes
1answer
133 views
How to install nodejs dependencies on windows 8.1?
How do you install the nodejs dependencies on windows 8.1? I have nodejs installed under c:/program files/nodejs
When I issue the npm install command I get the following errors:
> cd myproject
...
0
votes
1answer
73 views
Laravel elixir issue
I'm on L5, using laravel-elixir and it mysteriously works sometimes but most of the time it doesn't. Gulp is detecting file changes but the new files are unchanged.
Here's my gulpfile.js:
...
0
votes
1answer
110 views
Asset management - maintaining reference to relative assets after concatenation and versioning
I know that L5 and Elixir are still under development, but I'm excited to start thinking about ways to reorganize my code. I think my question has more to do with asset management, in the context of ...
0
votes
1answer
536 views
How to add CSS files to app.css in Laravel 5?
I use Laravel 5 and Elixir.
I have app.scss which imports _bootstrap.csss (installed by bower), and these files are compiled to one file public/css/app.css.
Also I have some CSS files in other ...
3
votes
0answers
142 views
Asynchronous Execution of Laravel Elixir Commands
I'm having some trouble with Laravel Elixir and working out in what order things are executed. I've been let to believe that chaining elixir calls will force them to execute synchronously but I've had ...
2
votes
0answers
292 views
Laravel Homestead error installing Gulp with elixir
When running npm install in homestead I get a long list of errors which start out with
npm ERR! UNKNOWN, mkdir ...
2
votes
0answers
432 views
Create a task in Laravel Elixir that runs Gulp tasks in a specified order
I'm trying to create a custom Elixir task in Laravel 5:
Convert a SVG file to favicons.
Optimize the created favicons.
Delete the unoptimized favicons.
var gulp = require('gulp');
var ...
1
vote
0answers
15 views
Is it possible to add a Laravel Elixir task from inside a package?
I'm building a Laravel 5 package, and I'd like to know if it is possible to add an Elixir test "automatically" (from inside the Service Provider) from my package. That way, after installing the ...
1
vote
0answers
46 views
Laravel Elixir version rev-manifest incomplete on gulp default task
I have my gulpfile (using Laravel Elixir) set up to create 4 files.
app.css
app.js
vendor.css
vendor.js
When I run either gulp, or gulp default app.js does not get created. Yet if I run gulp ...
1
vote
0answers
275 views
Laravel 5 extend Elixir to include browserify
My browserify workflow (from coffee to js, with browserify-shim and coffeeify) is like this:
I have 2 main files, app.coffee and _app.coffee, respectively for frontend and backend. Both files located ...
1
vote
0answers
80 views
mix.version() doesn't build what I expected
Here is my mix:
mix.styles(paths.styles, './', 'public/css/app.css')
.scripts(paths.vendors,'./','public/js/vendor.js')
.scriptsIn(paths.app,'./public/js/app.js')
...
1
vote
0answers
96 views
Strange behaviour when using Codeception with Laravel-Elixir
Been experimenting with Laravel-Elixir (within a Laravel 5 project) and Codeception. I have a complete fresh and unaltered Laravel 5 project, added Elixir (and all necessary tools) to that. And it is ...
0
votes
0answers
16 views
Delete intermediary files after elixir merge
I am using Laravel 5. During gulp task, the processed SASS files and other CSS files copied from resource folder are stored in public/css.
Then all the files in the public/css are merged together to ...
0
votes
0answers
19 views
Is there a way to do certain gulp tasks with Elixir?
I'm trying to optimize my elixir/gulp setup for my laravel 5 app. I'm still pretty new to this setup, but I just need to know if I can split up the tasks in my gulp file so that I can run them ...
0
votes
0answers
17 views
Sass finishes too early and output a blank file
I'm using laravel with elixir sass
I'm using transmit mounting the server as a drive and sublime. It works when I ssh and do nano but when I'm in sublime I get this message:
[22:48:58] Starting ...
0
votes
0answers
78 views
Gulp-Notify Application Already Registered Error when running Gulp on Windows 8.1
On a new install of Laravel 5 running gulp builds my Sass files, but throws this error at the end:
[19:25:26] gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
Command failed: ...
0
votes
0answers
43 views
Laravel Elixir and gulp-ftp
I'm still fairly new at using Laravel Elixir and Gulp. What I wanted to do is automate my file uploads to my host whenever they are updated, so a Gulp task seemed like the perfect solution using gulp ...
0
votes
0answers
24 views
How to preserve comments when minifying files?
How could one configure the preserveComments option when minifying assets (running gulp --production)? Is this something that we need to configure somewhere in the Elixir configuration files? Thanks!
0
votes
0answers
53 views
Laravel Elixir Issue when running --production
This is my gulpfile.js file:
http://laravel.io/bin/1yr1j
Which works fine when just running gulp.
But when i run "gulp --production" I get the following error:
http://laravel.io/bin/BLBd3