CodePudding user response:
What 404? May not cross domain problemsCodePudding user response:
if I remember correctly, devServer configuration is local, namely Webpack built-in apacheHttp server configuration, only for the use of local development,NPM run after the build things has nothing to do with this,
CodePudding user response:
Consult thehttps://www.cnblogs.com/gaoxiaoxuner/p/11887159.html
CodePudding user response:
After the packaging configuration nginx cross-domain, anyway has nothing to do with local this configuration,CodePudding user response:
After packaging more HTTP requests/API to have deleted project all/APICodePudding user response:
After webpack agent is only effective local development, packaging need to build in the deployment environment nginx proxy