欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

vuejs router history 配置到iis的方法

 更新時(shí)間:2018年09月20日 14:37:29   作者:夜刈萌影  
今天小編就為大家分享一篇vuejs router history 配置到iis的方法,具有很好的參考價(jià)值,希望對(duì)大家有所幫助。一起跟隨小編過來看看吧

先用web平臺(tái)安裝程序安裝url rewrite

然后新建web.config在網(wǎng)站根目錄下

寫如下:

<?xml version="1.0" encoding="UTF-8"?>

<configuration>
 <system.webServer>
  <rewrite>
   <rules>
 <rule name="Angular Rule" stopProcessing="true">
  <match url="(.*)" />
  <conditions logicalGrouping="MatchAll">
  <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
  </conditions>
  <action type="Rewrite" url="/" />
 </rule>
   </rules>
  </rewrite>
 </system.webServer>
</configuration>

以上這篇vuejs router history 配置到iis的方法就是小編分享給大家的全部?jī)?nèi)容了,希望能給大家一個(gè)參考,也希望大家多多支持腳本之家。

相關(guān)文章

最新評(píng)論