Skip to content

6du-host/vue-cli-plugin-livescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-cli-plugin-livescript

LoffeeScript Plugin for [email protected]


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

About

CoffeeScript 2.0 plugin for use with @vue/cli 3.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • LiveScript 100.0%