server:{ proxy:{ "api":{ target:'www.baidu.com', changeOrigin:true, rewrite:(path)=>path.replace('\/api','') } } }