How to prevent 404 errors when browser is refreshed?

59 Views Asked by At

I want Angular(v.13) can initialise and handle routing instead of trying to handle it on the server.

I've searched "Update webpack dev server config" which tells the webpack dev server to always serve /index.html regardless of the URL path...

But I can't find webpack.congif.js file.

could anyone give me any advice please?

0

There are 0 best solutions below