Since .NET 5 you can use CSS isolation to create component scoped CSS files. Did you know something similar was introduced for JavaScript as well? Plenty of examples can be found online to get this working in your Blazor app. But what if the basis for your JavaScript is actually TypeScript? Then good samples are a lot harder to find. In fact I did not find any sample where multiple modules where being used. This post outlines the steps I took to get exactly this up and running.