79276477

Date: 2024-12-12 20:24:25
Score: 2
Natty:
Report link

In the .razor file I had to add a script tag with type "text/template" and I moved the file to the 'scripts' folder as well.

<script src="scripts/MTD.xml" type="text/template"></script>

Interesting tidbit, for this to work the extension has to be .xml (albeit there may be other extensions that work but custom extensions I tried did not work).

Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: BradB