Skip to content

Instantly share code, notes, and snippets.

'use strict';
var through = require('through2');
var PluginError = require('gulp-util').PluginError;
var reTemplate = /<template>([\s\S]+)<\/template>/i;
var reScript = /<script>([\s\S]+)<\/script>/i;
var reNewLine = /[\n\r\t]+/g;
var reComponent = /Vue\.component\([\s]*[\'\"\`]{1}[\w-]+[\'\"\`]{1},[\s]*\{/;
var reInstance = /new[\s]+Vue[\s]*\([\s\n\r]*\{/;
"devDependencies": {
"babel-core": "^6.0.0",
"babel-loader": "^6.0.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.13.2",
"css-loader": "^0.23.1",
"request": "^2.74.0",
"style-loader": "^0.13.1",
"vue-loader": "^9.2.2",
"vue-html-loader": "^1.2.3",
<script>
'use strict'
const VkInput = {
data() {
return {
}
},