So I have a Vue app for a client set up on an apache dev server. I am doing this to match the production environment. The app is in a subdirectory and I set the \'base\' option
i fixed this by adding FallbackResource /index.html in my site configuration...
the directory in /etc/apache2/sites-enabled/{your domain}.conf
DocumentRoot /var/www/yourApp/dist FallbackResource /index.html