To help others who have this issue. I would like to post the answer here.
When we deploy angular application in IIS, no handler is required. When means extensionless request will not be handled automatically. So we use default document to specify the application entry and then rewrite no file no directory URL to this entry.
This is how we deploy angular js in IIS.
extension less URL=>rewrite => /=> default document=>index.html.
So both URL rewrite and default document should be required. And you won't lose out on any feature.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.