Electron packages the existing vue project, there is a problem

use electron to package existing projects into a desktop application. Unable to route, how to see the error?
clipboard.png
..]

Feb.28,2021

vue packaged files can only be useful on the server side. Electron packaging does not provide a server environment, so you can only load the home page, and the js section should not work.


has the landlord solved it? It's no use changing it to hash.


how did the landlord solve it

Menu