The JavaScript file primerBlazorJsInterop.js is automatically included by the PrimerBlazor package.
Blazor Web App (.NET 9+) Notes
When using PrimerBlazor in a .NET 9+ Blazor Web App, JavaScript modules are automatically registered using the built-in <script type="importmap"> mechanism. You do not need to manually add the script reference for primerBlazorJsInterop.js.
⚠️ In a Blazor Web App (.NET 9), charts and other JavaScript-based components will not render unless @rendermode InteractiveServer is specified on the page.