vue-cli-plugin-coffeescript
v0.0.3
Published
CoffeeScript for use with @vue/cli 3.0
Downloads
65
Readme
vue-cli-plugin-coffeescript
CoffeeScript 2.x Plugin for [email protected]
Usage
just run:
vue add coffeescript
if you project is using JSX with CoffeeScript:
add
babel.config.js
to your project root dir:// babel.config.js module.exports = { plugins: ['transform-vue-jsx'] }
install dependencies for JSX:
npm i babel-plugin-syntax-jsx babel-plugin-transform-vue-jsx\ babel-helper-vue-jsx-merge-props -D
Feature
parse CoffeeScript2 in your Vue project.
support JSX in
.coffee
.support entry 'main.coffee'.