Answers for "webpack vue global variable"

0

webpack vue global variable

// vue.config.js

const webpack = require('webpack')
module.exports = {
  configureWebpack: {
    plugins: [
      new webpack.ProvidePlugin({
        $: 'jquery',
        jquery: 'jquery',
        'window.jQuery': 'jquery',
        jQuery: 'jquery'
      })
    ]
  },
}
Posted by: Guest on October-08-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language