Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Commit

Permalink
And I'm done 🤯
Browse files Browse the repository at this point in the history
  • Loading branch information
zigomir committed May 19, 2020
1 parent b96c06e commit b6328c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions example/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@ module.exports = {
},
}),
],
// or use vite's proxy directly: https://github.com/vuejs/vite#dev-server-proxy
// proxy: {
// '/api': {
// target: 'https://reqres.in',
// changeOrigin: true,
// },
// },
}
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# vite-plugin-proxy

# ⚠️ [vite now has own proxy](https://github.com/vuejs/vite#dev-server-proxy) – so don't use this plugin

> what `devServer.proxy` is for `webpack-dev-server`, `vite-plugin-proxy` is for `vite`
> it's a `vite` plugin that proxies your requests
Expand Down

0 comments on commit b6328c2

Please sign in to comment.