IIS下VUE跳转

1新建web.config

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="vue">
                    <match url=".*" />
                    <conditions>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="/" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

2.搜索URL....安装即可

posted on 2020-09-07 10:12  HOT SUMMER  阅读(294)  评论(0编辑  收藏  举报

导航