摘要:
1 onInput(value) { 2 // if (this.type == 'payPwd' && this.payPwd.length < 6) { 3 // this.payPwd = this.payPwd + value; 4 // } else if (this.type == 'c 阅读全文
摘要:
1、解析 url 参数成对象 1 analysis(url) { 2 var arr = url.split('?'); 3 var brr = arr[1].split('&'); 4 var obj = {}; 5 for (var i = 0; i < brr.length; i++) { 6 阅读全文
摘要:
1 // 此文件是生产环境下webpack相关配置 2 'use strict' 3 const path = require('path') 4 const utils = require('./utils') 5 const webpack = require('webpack') 6 cons 阅读全文
摘要:
1 // 此文件是生产环境下webpack相关配置 2 'use strict' 3 const path = require('path') 4 const utils = require('./utils') 5 const webpack = require('webpack') 6 cons 阅读全文
摘要:
1 //此文件是检查node+npm的版本 在build.js里面使用 2 'use strict' 3 const chalk = require('chalk') //导入chalk模块 用来改变字体颜色 4 const semver = require('semver') //导入semver 阅读全文
摘要:
1 // 此文件是生产环境下webpack相关配置 2 'use strict' 3 const path = require('path') 4 const utils = require('./utils') 5 const webpack = require('webpack') 6 cons 阅读全文
摘要:
1 const fs = require('fs') 2 const path = require('path') 3 const webpack = require('webpack') 4 const UglifyJsPlugin = require('uglifyjs-webpack-plug 阅读全文
摘要:
1 //此文件是开发环境下webpack相关配置 2 'use strict' 3 const utils = require('./utils') 4 const webpack = require('webpack') 5 const config = require('../config') 阅读全文
摘要:
1 // webpack.base.conf.js 基础配置 2 'use strict' 3 const path = require('path') // path模块是路径设置 4 const webpack = require('webpack') 5 const utils = requi 阅读全文
摘要:
1 //处理.vue文件的配置文件 2 'use strict' 3 const utils = require('./utils') 4 const config = require('../config') 5 const path = require('path') 6 const isPro 阅读全文