SoFunction
Updated on 2025-03-02

vuejs router history method to configure to iis

First install url rewrite using the web platform installer

Then create it in the website root directory

Write as follows:

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

<configuration>
 <>
  <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>
 </>
</configuration>

The above method of configuring vuejs router history to iis is all the content I share with you. I hope you can give you a reference and I hope you support me more.