After 404 after deployment package antdpro access route refresh

After antdpro build access routes to refresh the 404?

There are three solutions:

1. switch hashHistory, in  .umirc.js或者是config.js years with history: 'hash'

2. static in  .umirc.js there with exportStatic: true

3. fallback routing server configuration to index.html

 

Guess you like

Origin www.cnblogs.com/greenteaone/p/10956500.html