0.0.4 • Published 8 years ago
finite-vue-processor v0.0.4
finite-vue-processor
Convert .vue to .js, match the filename as vue component name.
Usage
Command style usage:
Input one or more vue file paths as parameters, output *.js files in the same dirs.
vue-processor xxx.vue
Pipe style usage:
Input a vue file contents from stdin, output a js contents to stdout.
Require a「--name」parameter as vue component name in this way.
cat xxx.vue | vue-processor --name 'xxx'