1. The configuration bar in the development environment somehow works in the production environment
- The list of issues this causes is quite serious, starting with those that affect runtime configuration, such as the dynamic title and logo in the upper left corner… Then give the user such a thing to let him follow one’s inclinations dot dot, be afraid of dot bug…..
The easiest way to do this is to remove umi-plugin-setting-drawer packages.
2. The page is displayed occasionallyAnt Design Pro
With the words
- It may be displayed on a refresh or when the page jumps. It’s not very elegant…
Replace Ant Design/Ant Design Pro globally. Most importantly, replace ejS and Config /defaultSettings.
3. Proxy dead and dead after deployment (nginx)
- My project is deployed in
nginx
Inside, development of the time to go is alsoconfig/proxy
Configuration, deployment online found that the agent is dead or dead,
Rewrite of nginx can be used in configuration
location /api {
rewrite ^/api/(.*)$ /The $1 break;
proxy_pass http://xxx.xx.xxx.xxx;
}
Copy the code
4. Remove what is displayed on the refreshed pagePro
And at the bottom of theAnt Design
- delete
document.ejs
Corresponding in the fileDOM
The structure can be
Some images I directly cut the official example, because my project has been changed and I do not want to change…. These are the problems encountered at present