Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
53 views

Compiling files with laravel + elixir

I am taking over a laravel project that uses elixir to compile various sass, coffeescript, and javascript files: elixir(function(mix) { mix.sass('main.scss') .coffee(['methods.coffee', '...
Trung Tran's user avatar
  • 13.8k
0 votes
0 answers
32 views

Laravel Elixir creating wrong JS from coffeeScript?

First I will provide some examples: First Second Both examples of some online compilers create the same result from the same input. If I take the input, put it into my coffee file and compile it ...
Isfirs's user avatar
  • 134
1 vote
0 answers
69 views

Concatenate coffeescript files in correct order using Elixir

I'm using Elixir to concatenate and compile Coffeescript files into Javascript. When I try to call a function from a place that originally is in another file, I get an error saying that the function ...
Oskar Persson's user avatar
0 votes
0 answers
145 views

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....
Jonathon's user avatar
  • 16.4k
2 votes
1 answer
636 views

How to require other CoffeeScripts files in main CoffeeScript with Laravel?

I have one CoffeeScript project with "Ruby on Rails" framework. Now I want to use "Laravel" framework instead of "Ruby on Rails". In "Ruby on Rails", there is "Sprocket" asset pipeline management ...
Steve.NayLinAung's user avatar
7 votes
2 answers
2k 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 ...
user2002495's user avatar
  • 2,146