0
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
// const webpack = require("webpack")
|
||||
module.exports = {
|
||||
publicPath: './',
|
||||
assetsDir: 'static',
|
||||
productionSourceMap: false,
|
||||
// devServer: {
|
||||
// proxy: {
|
||||
// '/api':{
|
||||
// target:'http://jsonplaceholder.typicode.com',
|
||||
// changeOrigin:true,
|
||||
// pathRewrite:{
|
||||
// '/api':''
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
devServer: {
|
||||
public: 'http://192.168.110.156:8080/' // 你自己本地的ip地址:端口号
|
||||
}
|
||||
// 配置插件参数
|
||||
// configureWebpack: {
|
||||
// plugins: [
|
||||
// new webpack.ProvidePlugin({
|
||||
// 'window.Quill': 'quill'
|
||||
// })
|
||||
// ]
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user