if you want to disable cache using Azure Front Door rule you can use an Action 'Route configuration override' with Caching 'Disabled'.
Condition is another question here. To be sure your rule is triggered there is a good approach with adding second Action which will add your custom response header (for example 'X-MyRule-Version' value 'v1').
Try your condition first but I'm not sure this is the right one since SPA returning the html on every route of your app usually. I created the condition based on Accept request header with 'text/html' value and it works but I'm not sure this is a best solution out there.