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
Allow to use devServer.proxy from webpack & make work.
devServer.proxy
CORS request to API in development envrionemtn.
It doesn't require new API, but it should be something like that:
module.exports = config = { configureWebpack: { devServer: { proxy: { "/api": { target: "http://localhost:8090/", secure: false } } }, } };
Replace deprecated (see https://github.com/webpack-contrib/webpack-serve ) webpack-serve there https://github.com/vuejs/vuepress/blob/master/lib/dev.js#L97 and use webpack-dev-server instead ( https://github.com/webpack/webpack-dev-server ).
I don't know webpack enought.
The text was updated successfully, but these errors were encountered:
Thanks for the report, and it has been addressed at #1195.
Sorry, something went wrong.
No branches or pull requests
Feature request
Allow to use
devServer.proxy
from webpack & make work.What problem does this feature solve?
CORS request to API in development envrionemtn.
What does the proposed API look like?
It doesn't require new API, but it should be something like that:
How should this be implemented in your opinion?
Replace deprecated (see https://github.com/webpack-contrib/webpack-serve ) webpack-serve there https://github.com/vuejs/vuepress/blob/master/lib/dev.js#L97 and use webpack-dev-server instead ( https://github.com/webpack/webpack-dev-server ).
Are you willing to work on this yourself?**
I don't know webpack enought.
The text was updated successfully, but these errors were encountered: