We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.安装jquery依赖
国内镜像安装
npm install -g cnpm --registry=https://registry.npm.taobao.org
npm install jquery --save
2.修改webpack配置文件
找到 webpack.base.conf.js文件
①. 引入webpack var webpack = require("webpack")
var webpack = require("webpack")
② module.exports 加上
// 增加一个plugins plugins: [ new webpack.ProvidePlugin({ $: "jquery", jQuery: "jquery" }) ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1.安装jquery依赖
国内镜像安装
npm install -g cnpm --registry=https://registry.npm.taobao.org
npm install jquery --save
2.修改webpack配置文件
找到 webpack.base.conf.js文件
①. 引入webpack
var webpack = require("webpack")
② module.exports
加上
The text was updated successfully, but these errors were encountered: