0.0.10 • Published 5 years ago

vue-cli-plugin-livescript v0.0.10

Weekly downloads
100
License
-
Repository
github
Last release
5 years ago

vue-cli-plugin-livescript

LoffeeScript Plugin for vue-cli@3.0

Usage

  • just run: vue add livescript

  • 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

Features

  • parse Livescript in your Vue project.

  • support JSX in .ls.

  • support entry main.ls - this plugin will replace the app's entry to ./src/main.ls if the file exists.

LICENSE

Mozilla

0.0.10

5 years ago

0.0.9

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago