[SOLVED] Url for router, when using webpack?

Greetings. I need to get the desired page by url.
I’ve already asked this question and found the answer.
url for router
But now I’m using webpack and I can’t specify the full path to the file in router.js, because it is not there - it is compressed into one file.
Tell me how to be?

You probably need this https://webpack.js.org/configuration/dev-server/#devserverhistoryapifallback

1 Like

Its OK, i found answer