gulp-vue-property-decorator-transpiler
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

gulp-vue-property-decorator-transpiler

To be used with vue-property-decorator-transpiler.

It will pack all .vue files in a project with an initial .html file and .js file, and generate only one .html and one .js file.

License

MIT License

Install

npm install gulp-vue-property-decorator-transpiler --save-dev

Usage

var gulp = require('gulp');
var gvpd = require('gulp-vue-property-decorator-transpiler');

gulp.src("src/index.htm") // the initial .html file
	.pipe(gvpd({
		script: "src/main.js", // the initial .js file, will be put at the end of the output
		componentsDir: "src/components", // the directory of all .vue files
		outputScript: "dist/assets/main.js", // the output .js file
		outputHTML: "dist/index.htm", // the output .html file
		minifyScript: true // if true, will also minify .js (by terser)
	}))

Package Sidebar

Install

npm i gulp-vue-property-decorator-transpiler

Weekly Downloads

7

Version

1.0.5

License

MIT

Unpacked Size

6.57 kB

Total Files

5

Last publish

Collaborators

  • mutsuntsai