Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeffreyway/laravel-elixir-coffeescript

Laravel Elixir CoffeeScript Support
https://github.com/jeffreyway/laravel-elixir-coffeescript

Last synced: about 1 month ago
JSON representation

Laravel Elixir CoffeeScript Support

Awesome Lists containing this project

README

        

# Laravel Elixir CoffeeScript Support

This extension supports Laravel Elixir v6 and up. For older versions, CoffeeScript
support was already baked in.

## Step 1: Install

```
npm install laravel-elixir-coffeescript --save-dev
```

## Step 2: Use It

```js
// Gulpfile.js

var elixir = require('laravel-elixir');

elixir(function(mix) {
// Examples:

mix.coffee('app.coffee');

mix.coffee('app.coffee', 'public/output');

mix.coffee('app.coffee', 'public/output/file.js');

// https://github.com/wearefractal/gulp-coffee#options
mix.coffee('app.coffee', 'public/output/file.js', options);
});
```

## Step 3: None. You're Done.