We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vite 怎么去使用?
The text was updated successfully, but these errors were encountered:
`import { ProxyOptions } from "vite";
export const proxy:Record<string, string | ProxyOptions> | undefined = { "/xhr/(.*)":{ target: 'xxxxx/api', // target: 'xxxxx', changeOrigin: true, rewrite(path){ return path.replace(/^/xhr/, '/') }, } };`
Sorry, something went wrong.
@ZDHSir 不去支持 vite 是因为它有自己的插件, vite-plugin-mock-server
vite-plugin-mock-server
No branches or pull requests
vite 怎么去使用?
The text was updated successfully, but these errors were encountered: