Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vialer/vue-compiler
Simple and fast template compiler for Vue 2.
https://github.com/vialer/vue-compiler
Last synced: 29 days ago
JSON representation
Simple and fast template compiler for Vue 2.
- Host: GitHub
- URL: https://github.com/vialer/vue-compiler
- Owner: vialer
- License: mit
- Created: 2017-05-18T12:55:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T14:44:54.000Z (over 4 years ago)
- Last Synced: 2024-11-19T07:53:25.338Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 18.6 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-compiler
Simple and fast Vue 2 template compiler that uses the reference template compiler.# Usage
npm i -g @vialer/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]