vue改为history模式后,在iis里部署无法直接访问页面/刷新页面404,需要先在iis里配置下。
1.下载重写工具
2.在站点的vue dist包里放入web.config文件,web.config里配置
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule
vue改为history模式后,在iis里部署无法直接访问页面/刷新页面404,需要先在iis里配置下。
1.下载重写工具
2.在站点的vue dist包里放入web.config文件,web.config里配置
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule
1589

被折叠的 条评论
为什么被折叠?