vue proxyTable 配置及GitBook地址

 proxyTable: {
      // proxy all requests starting with /api to jsonplaceholder
      '/api': {
        target: 'http://jsonplaceholder.typicode.com',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }

https://vuejs-templates.github.io/webpack/proxy.html

你可能感兴趣的:(vue proxyTable 配置及GitBook地址)