JQ mounted reliance
npm install jQuery
Modify the configuration of the build in webpack.base.conf.js
var webpack=require("webpack")
Add module.exports inside
plugins: [ // new webpack.optimize.CommonsChunkPlugin('common.js'), new webpack.ProvidePlugin({ jQuery: "jquery", $: "jquery" }) ]
Introduced inside the global main.js
import jquery from 'jquery' window.jquery = window.$ = jquery