All Questions
Tagged with laravel-elixir coffeescript
6 questions
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', '...
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 ...
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 ...
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....
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 ...
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 ...