10.0.0-rc.1 • Published 7 years ago

@poi/plugin-coffee v10.0.0-rc.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

plugin-coffee

Use CoffeeScript in your Poi project.

Install

yarn add coffeescript @poi/plugin-coffee --dev

Usage

// poi.config.js
module.exports = {
  plugins: [
    require('@poi/plugin-coffee')(options)
  ]
}

Notes:

  • To use in Vue SFC, set lang="coffee" or lang="coffeescript":
<script lang="coffee">
export default
  data: ->
    foo: 'foo'
</script>

API

options

options.loaderOptions

Options for better-coffee-loader.

License

MIT © EGOIST