1 Star 0 Fork 0

刘峻 / book-web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 418 Bytes
一键复制 编辑 原始数据 按行查看 历史
aspccw 提交于 2023-10-20 17:26 . q1
const { defineConfig } = require('@vue/cli-service')
const webpack = require("webpack");
module.exports = defineConfig({
devServer:{
// 端口号的配置
port:1024
},
transpileDependencies: true,
lintOnSave: false,
configureWebpack: {
plugins: [
new webpack.ProvidePlugin({
$:"jquery",
jQuery:"jquery",
"windows.jQuery":"jquery"
})
]
}
})
1
https://gitee.com/liu_jun_com/book-web.git
git@gitee.com:liu_jun_com/book-web.git
liu_jun_com
book-web
book-web
master

搜索帮助