错误如下:
解决办法:
在dist目录下创建 .htaccess 隐藏文件 添加如下内容:
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.html [L,E=PATH_INFO:$1]
</IfModule>