finite-vue-processor

0.0.4 • Public • Published

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'

Dependencies (8)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i finite-vue-processor

    Weekly Downloads

    1

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • yanagieiichi