Using webpack es6 angular1.6, the project uses a route like http://xx.xx.xx.xx/editor/m/new. Such a route can be accessed normally in the dev environment, but after building As soon as this state is accessed on the entry page, 404 will appear. Didn't webpack build the routing-related content together?
Already solved, use hashHistory