Front-end rookie asks for help: it seems feasible to introduce jquery, globally into the vue project and find a document. To use expose-loader,
https://www.cnblogs.com/qiqi1.
, but the configuration is not quite the same as vue.config.js.
also found that the loader in vue.config.js is like this
// vue.config.js
module.exports = {
chainWebpack: config => {
config.module
.rule("scss")
.use("sass-loader")
.tap(options =>
merge(options, {
includePaths: [path.resolve(dirname, "node_modules")],
})
)
}
but what I want to configure now is expose-loader, how to change it? thank you, boss.