npm.io
0.0.8 • Published 6 years ago

gulp-vue-sfc

Licence
MIT
Version
0.0.8
Deps
8
Size
598 kB
Vulns
5
Weekly
0

gulp-vue-sfc

Gulp plugin to transform Vue Single File Components into js/ts files

Install

$ yarn add gulp-vue-sfc

How to use

// gulpfile.ts
import { src, dest } from 'gulp'
import VueSFCPlugin from 'gulp-vue-sfc'

function compileTask() {
  return src('./src/**/*.vue')
    .pipe(VueSFCPlugin())
    .pipe(dest('./dist'))
}

export default compileTask

Keywords