0.0.3 • Published 7 years ago

vuetilize v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

Watch, compile and transpile vue files via CLI

Why

I want to make use of Vue.js single file components without a module bundler like browserify or webpack. Also, other vue-compiler packages do not support babel plugins like transform-es2015-modules-amd.

Install

npm install vuetilize --savedev

Usage

Usage: index [options] <srcGlob> <dest>

Options:

    -h, --help     output usage information
    -V, --version  output the version number
    -w, --watch    Watch for changes

babel

vuetilize automatically reads and applies your .babelrc file

Example

vuetilize src/main/js/**/*.vue target/my-project/js/ --watch

Unit Tests

Execute npm test to execute mocha unit tests.

Limitations

  • style tags in vue files are currently not supported