Skip to content

将vue文件转为微信小程序的page/component

Notifications You must be signed in to change notification settings

p-l-h/gulp-vue2wxml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-vue2wxml

将vue文件转为微信小程序的page/component

安装

yarn add gulp gulp-vue2wxml -D

使用

var gulp = require('gulp');
var vue2wxml = require('gulp-vue2wxml');

gulp.task('default', function() {
    gulp.src('src/**/*.vue')
        .pipe(vue2wxml())
        .dest('dist');
});

About

将vue文件转为微信小程序的page/component

Resources

Stars

Watchers

Forks

Packages

No packages published