@poi/plugin-coffee
v10.0.0-rc.1
Published
Use CoffeeScript in your Poi project
Downloads
3
Readme
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"
orlang="coffeescript"
:
<script lang="coffee">
export default
data: ->
foo: 'foo'
</script>
API
options
options.loaderOptions
Options for better-coffee-loader.