File: gulpfile.babel___.js

Recommend this page to a friend!
  Classes of afshin akhgar   Vue js Starter Kit   gulpfile.babel___.js   Download  
File: gulpfile.babel___.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Vue js Starter Kit
Compile Vue template files using Gulp
Author: By
Last change: Update of gulpfile.babel___.js
Date: 2 years ago
Size: 267 bytes
 

Contents

Class file image Download
var gulp = require('gulp'); var fs = require('fs'); var browserify = require('browserify'); var vueify = require('vueify'); gulp.task('vue',function(){ browserify('./src/main.js') .transform(vueify) .bundle() .pipe(fs.createWriteStream("./dist/bundle.js")); });