[Vuejs]-VueJS spa .htaccess

0👍

If e.g. /static/js/app.js is real file in your Document root, you do not need to exclude it at all because you did exclude all files and folders with:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

I would remove :

RewriteRule ^(static) - [L]

and

RewriteCond %{REQUEST_URI} !^/static/

Leave a comment