Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sobird/gulp-plugin-vue
Gulp plugin for compiling Vue single file components
https://github.com/sobird/gulp-plugin-vue
Last synced: 6 days ago
JSON representation
Gulp plugin for compiling Vue single file components
- Host: GitHub
- URL: https://github.com/sobird/gulp-plugin-vue
- Owner: sobird
- License: mit
- Created: 2020-10-10T08:26:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-16T14:16:15.000Z (about 3 years ago)
- Last Synced: 2024-12-29T22:15:43.156Z (9 days ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-plugin-vue
Gulp plugin for compiling Vue single file components## Usage
`gulpfile.js`
```js
const { src, dest } = require('gulp');
const gulpPluginVue = require('gulp-plugin-vue');module.exports.vue = function () {
return src('./test/*.test.vue')
.pipe(gulpPluginVue())
.pipe(dest('output'));
}
``````bash
$ gulp vue
```## API
gulpPluginVue([options])#### Options
- `runtime`
- Type: `boolean`
- Default: `true`- `outputSourceRange`
- Type: `boolean`
- Default: `false`