Blazor - Web Components - WebAssembly - Micro frontends

坚强是说给别人听的谎言 提交于 2020-01-23 08:35:09

问题


I'm investigating about Micro Front Ends and being able to have features built in different technologies. So far, creating Web Components and using those on the Monolith is the best approach I have found. Looking into different ways on creating Web Components and serving the modules in different services has being a fun experience.

Looking into WebAssembly with Blazor, I got a question: Can you create and host on a server a Web Component wrap in a Web Assembly? I try enable CORS and just copying the default html to a different file and running the static html from there but a root file is not found.

Is there a way to achieve something similar? Am I trying to use several technologies on ways it was not meant to and just making a mess?

来源:https://stackoverflow.com/questions/58108980/blazor-web-components-webassembly-micro-frontends

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!