报错现象ReferenceError: jQuery is not defined
build\webpack.base.conf.js
加入这两句代码即可
... var webpack = require('webpack') module.exports = { plugins: [new webpack.optimize.CommonsChunkPlugin('common.js'), new webpack.ProvidePlugin({ jQuery: "jquery", $: "jquery" })], ...