gulp-vuecc

0.2.0 • Public • Published

gulp-vuecc

🍹 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?

🐗 grunt-vuecc

/gulp-vuecc/

    Package Sidebar

    Install

    npm i gulp-vuecc

    Weekly Downloads

    1

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • stpettersens