Why do vue routes always have this-sharp/

Why not http://localhost:8080/test? Why is there an extra -sharp/ ?

Apr.06,2021

it is recommended to take a look at the vue route document to make it clear


remove-sharp needs to be modified with the cooperation of the back end, and it is useless to remove it yourself


you can take a look at the vue router document, and you can change the mode in router. The url in hash mode mode has-sharp, added to the history mode and the sharp can be removed.
the code is as follows:
const router = new VueRouter ({
mode: 'history',
routes: routes,
.
})


mode:' history'

Menu