vue-cli-plugin-coffeescript

0.0.3 • Public • Published

vue-cli-plugin-coffeescript

CoffeeScript 2.x Plugin for vue-cli@3.0


Usage

  • just run: vue add coffeescript

  • if you project is using JSX with CoffeeScript:

    1. add babel.config.js to your project root dir:

      // babel.config.js
      module.exports = {
        plugins: ['transform-vue-jsx']
      }
      
    2. 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'.


LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i vue-cli-plugin-coffeescript

Weekly Downloads

15

Version

0.0.3

License

MIT

Unpacked Size

3.6 kB

Total Files

9

Last publish

Collaborators

  • redka