|
- const { defineConfig } = require('@vue/cli-service')
- const webpack = require("webpack")
-
- module.exports = defineConfig({
- transpileDependencies: true,
- lintOnSave: false,
- publicPath: './',
- configureWebpack: {
- plugins: [
- // 配置 jQuery 插件的参数
- new webpack.ProvidePlugin({
- $: 'jquery',
- jQuery: 'jquery',
- 'window.jQuery': 'jquery',
- Popper: ['popper.js', 'default']
- })
- ]
- },
- chainWebpack: config =>{
- config.plugin('html')
- .tap(args => {
- args[0].title = "北斗天云";
- return args;
- })
- }
- })
|