yes this question been ask some people as well and this issue trigger to https://router.vuejs.org/guide/essentials/history-mode.html#example-server-configurations
why I asked this again ? I did create file .htaccess in root folder like that Link tell, but it still doesnt work, this is I my.htaccess in the root
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</ifModule>
do I create wrong name file ?
my vue app doesnt has server though just like static website
so I have a route like this
mydomain.com/detail/:name
when I go to that page it was good, but when I refresh again, it was not working again and it said page not found
I deploy this app on surge
and GitLab Pages
(using their ci/cd) it was same result ,
what is the matter then with my vue ??