This commit is contained in:
2025-01-07 21:30:10 +08:00
commit 10caf6b7fd
26 changed files with 13679 additions and 0 deletions

22
vue.config.js Normal file
View File

@ -0,0 +1,22 @@
const { defineConfig } = require('@vue/cli-service')
// module.exports = defineConfig({
// transpileDependencies: true
// })
// defineConfig 这里是vue3 的默认代码
const webpack = require("webpack")
module.exports = defineConfig({
// 配置插件参数
configureWebpack: {
plugins: [
// 配置 jQuery 插件的参数
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
'window.jQuery': 'jquery',
Popper: ['popper.js', 'default']
})
]
}
})