Natural Pacifist Manatees

    laravel-mix-elm

    1.0.1 • Public • Published

    Laravel Mix Elm

    Compile Elm files with Laravel Mix.

    Installation

    npm install laravel-mix-elm --save

    Usage

    In your webpack.mix.js:

    let mix = require('laravel-mix')
    require('laravel-mix-elm')
     
    mix.js('resources/js/app.js', 'public/js')
       .elm()

    In your app.js:

    let { Elm } = require('./Main.elm')
     
    let app = Elm.Main.init({
        node: document.getElementById('main')
    })

    Install

    npm i laravel-mix-elm

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    1.65 kB

    Total Files

    3

    Last publish

    Collaborators

    • thibaud-dauce