Vue Router not working after npm run build


I finished developing a Vue js application, but when I am deploying it to my own server, I am accessing the website successfully yet the router seems to be not working.
I am using an apache server, but this server doesn’t have a default .htaccess file.

1 Like

Hi @RahhalAli
You can refer this: Your Complete .htaccess Guide: Including .htaccess basics & more - Plesk
Hope this helps!!