About the scaffolding of dva

Let me ask you a question. I use dva scaffolding to build the project.

clipboard.png

I want to use browserHistory as the background interface, but the packaged project is blank and there is no error! If you change to use the default hashHistory, it will be fine. But there will be a "- sharp".
has anyone encountered this problem? can you tell me the solution?

Feb.27,2021

packaged items need to run in the web container.
such as nginx , apache , and so on. You need to configure an agent to access it.


I did a simple test, initializing a scaffolding, then packing it out and running the index.html file. Without adding browserHistory, it can be accessed locally. Want to get rid of the sharp, after url-after adding history:createHistory (), you can't afford to repackage? Are you saying that using createHistroy, requires the use of proxies?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be79bf-3189e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be79bf-3189e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?