The problem of special characters in the path in webpack-dev-server

recently the company has been using webpack as the packaging tool and webpack-dev-server as the server, but the path contains special characters, such as http://localhost:8889/-sharp!/app/ contains-sharp! Excuse me.-sharp! What does it do? How to get rid of it?

Mar.04,2021

this path has nothing to do with webpack-dev-server .
VUE project? The relationship of vue-router is used

mode: 'history'

can be routed in history mode


found several related articles, and this problem is indeed an angular-ui-router problem

official website

fan log

some questions about the opening of html5Model for angularjs-ui-router

Menu