Думаю, я понял это.
<rule name="Go to Dashboard" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_URI}" pattern="(.*\/bd\/?.*)" negate="false" />
</conditions>
<action type="Rewrite" url="/Dashboard/" />
</rule>
<rule name="Handle History Mode and custom 404/500" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_URI}" pattern="(.*\/bd\/?.*)" negate="true" />
</conditions>
<action type="Rewrite" url="/" />
</rule>
Также важно использовать отдельный шаблон в vue config с правом в заголовке
pages: {
index: {
entry: 'src/Landing/main.js',
template: 'public/index.html',
filename: 'index.html',
title: 'Index Page',
chunks: ['chunk-vendors', 'chunk-common', 'index']
},
dashboard: {
entry: 'src/Dashboard/main.js',
template: 'public/bd.html',
filename: 'Dashboard/index.html',
title: 'Dashboard',
chunks: ['chunk-vendors', 'chunk-common', 'dashboard']
},
},