An open API service indexing awesome lists of open source software.

https://github.com/ferdodo/vue-compiler-dom-cli

CLI to compile vue templates to render functions.
https://github.com/ferdodo/vue-compiler-dom-cli

build-tool vue

Last synced: 2 months ago
JSON representation

CLI to compile vue templates to render functions.

Awesome Lists containing this project

README

          

# vue-compiler-dom-cli

[![vulnerabilities badge](https://snyk.io/test/npm/vue-compiler-dom-cli/badge.svg)](https://snyk.io/test/npm/vue-compiler-dom-cli)

## Install

[npm package](https://www.npmjs.com/package/vue-compiler-dom-cli)

npm i -g vue-compiler-dom-cli

## Usage

vue-compiler-dom

Compile vue templates to render functions.

Options:
--help Show help [boolean]
--version Show version number [boolean]
--infile Template file to be compiled [string] [required]
--outfile Destination file [string] [required]
--custom-element-regexp Regular expression to match custom elements [string]
--mode Generate an module exporting the render function or a
simple function
[string] [choices: "module", "function"] [default: "function"]