node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

laravel-elm

Laravel Elm Integration

A package to provide support for compiling Elm in Laravel

Recommended: laravel-elm

Installation

npm install --save-dev laravel-elm

or

yarn add --dev laravel-elm

Config

In your webpack.mix.js:

let mix = require('laravel-mix').mix;
let elm = require('laravel-elm');

mix.js('resources/assets/js/app.js', 'public/js')
    .sass('resources/assets/sass/app.scss', 'public/css')
    .then(elm);

License

View the license for this repo.