6du-livescript-loader
v0.0.3
Published
LiveScript loader module for webpack and Vue
Downloads
10
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)