0.2.0 • Published 8 years ago

gulp-vuecc v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

gulp-vuecc

:tropical_drink: Gulp plug-in for unofficial Vue component compiler.

Build Status js-standard-style npm version Dependency Status Development Dependency Status

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:

MIT

Using Grunt?

:boar: grunt-vuecc