How to handle rewrites, like htaccess used to do?

According to vue router documentation, I need to implement rewrites, as described here:

It seems as though netlify does not support htaccess; then how can I achieve the desired goal?

hi there, that is correct, netlify does not support .htaccess.

You can achieve the desired results with rewrites and redirects: