Skip to content

omni-door/gulp-plugin-vue-sfc

Repository files navigation

@omni-door/gulp-plugin-vue-sfc

English | 简体中文

Quick start

Install

yarn add -D @omni-door/gulp-plugin-vue-sfc

Usage

In gulpfile.js:

import { src, dest } from 'gulp';
import VueSFCPlugin from '@omni-door/gulp-plugin-vue-sfc';

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

Dev

For debugging or maintenance, you can clone the whole git repository and run the project.

git clone --depth 1 git@github.com:omni-door/gulp-plugin-vue-sfc.git

cd gulp-plugin-vue-sfc

yarn && yarn dev

More Detials

About

The gulp plugin for process the vue sfc file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published