gulp-vuecc
v0.2.0
Published
Gulp plug-in for unoffical Vue component compiler.
Downloads
1
Maintainers
Readme
gulp-vuecc
:tropical_drink: Gulp plug-in for unofficial Vue component compiler.
Install:
$ npm install --save-dev gulp-vuecc
Usage:
'use strict'
const gulp = require('gulp')
const vuecc = require('gulp-vuecc')
gulp.task('components', function() {
return gulp.src('*.vue.ts', {read: false})
.pipe(vuecc({
header: true,
verbose: false,
inputExt: '.vue.ts',
outputExt: '.js'
}))
})
Options:
- options: Object : Object containing any of the following options:
- header: boolean : Generate commented header for output (default: true).
- verbose: boolean : Display console output for invocation (default: true).
- inputExt: string : File extension to use for input (default: .vue.ts).
- outputExt: string : File extension to use for output (default: .ts).
Authors:
License:
Using Grunt?
:boar: grunt-vuecc