@garage11/vue-compiler

1.1.0 • Public • Published

vue-compiler

Simple and fast Vue 2 template compiler; mainly a thin wrapper around the reference Vue template compiler.

Usage

npm i -g @garage11/vue-compiler
# produces a commonjs module like `module.exports.tabs_TabList`
vc -i '../tabs/src/*.vue' -s src -c

Options

--namespace, -n  changes the default namespace.                         [text]
-c, --commonjs   use commonjs format                [boolean] [default: false]
-i, --input      glob pattern to vue templates.              [text] [required]
-o, --output     output file to use.                                    [text]
-s, --skip       skip parts of the template path to name.              [lijst]
-h               Show help                                           [boolean]

/@garage11/vue-compiler/

    Package Sidebar

    Install

    npm i @garage11/vue-compiler

    Weekly Downloads

    1

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    15.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • garage11