I'm trying to develop the frontend of my Web Api (NET CORE) pluginable application. I would like to use Angular 9 but im not an expert in angular.
My backend was designed to be extensible and at startup it watches in a specified folder and if exists one or more dll files that contains logic to extend base application (like a plugin) it loads them. I want to use a similar approach in the frontend. I tried different solutions and read a lot of articles but is difficult to find somebody that want to import unknown plugin at compile time.
I tried lazy modules (starting from this: https://www.mokkapps.de/blog/manually-lazy-load-modules-and-components-in-angular/) that would be perfect but using this I have to know implemented plugin (modules) before compiling my angular app because if I want to use the modules I have to use Import function in my main app.
So I searched more and after the article Load new modules dynamically in run-time with Angular CLI & Angular 5 I tried System.Js approach but I can't find a working solution for angular 9.
I'am pretty sure that I am not the only one that would create a pluginable Angular app that load plugins without recompile main app.
I need some suggest to the right approach to follow or a working example of an angular app that use plugins architecture.