6du-livescript-loader

LiveScript loader module for webpack and Vue

Usage no npm install needed!

<script type="module">
  import duLivescriptLoader from 'https://cdn.skypack.dev/6du-livescript-loader';
</script>

README

hack-livescript-loader

Usage

{
    module: {
        loaders: [
            { test: /\.vue$/, loader: "vue-livescript-loader" },
            { test: /\.ls$/, loader: "vue-livescript-loader" }
        ]
    }
}
<template>
<h1>Hello {{ msg }}
</template>

<script lang="ls">
module.exports =
  data: ->
    msg: 'World'
</script>

Why another Livescript loader?

The original Livescript loader doesn't support .vue files This is an improved/forked/inspired version of coffee-loader

License

MIT (http://www.opensource.org/licenses/mit-license.php)