I just want to generate a .WASM file from C# code. However, both Blazor and Uno Platform, seem to indicate that you have to create an via their respective application. Is there a way to simply generate the module?
Asked
Active
Viewed 30 times
0
-
Your question rests on some fundamental assumptions that are probably invalid. For starters, no programming language is an island; every programming language operates in an "environment." The purpose of Blazor and Uno is not just to translate from one language to another; it's to transport you from one environment to another. That's why all of this pesky infrastructure that Uno and Blazor provides exists. – Robert Harvey Jul 02 '22 at 15:03
-
So looking at https://developer.mozilla.org/en-US/docs/WebAssembly/Using_the_JavaScript_API, it seems like I should be able to make a `.wasm` file and load it via JS. From there I should be able to invoke functions that were exported. I don't need an entire environment to do this. – poy Jul 02 '22 at 21:11
-
https://github.com/unoplatform/Uno.Wasm.Bootstrap – Robert Harvey Jul 06 '22 at 00:13