Want to use Dynamic Pages from Server?

#1

I am creating an application and want to load pages and Styles, TS codes from server.
Because i want to control Modules from server side. what should i enable and what i want to disable.
I have created a basic App as base and want to add features/modules from server dynamically.
Is it possible?

#2

Why? What reason are you pursuing this?

#3

Angular really discourages this, because it kills the ability for the compiler to do lots of build-time optimization.

#4

I have app requirements like this. I want to enable/disable some modules buy backend into app random.
Also, i want to use Base that contains all functions into it.
Then generate new apps from it and enable/disable things it.

#5

But there should be some way to handle this type of requirements.
because i want to use styling/ templates etc from backend.
I have app requirements like this. I want to enable/disable some modules buy backend into app random.
Also, i want to use Base that contains all functions into it.
Then generate new apps from it and enable/disable things it.

#6

There is, but it involves tradeoffs. The Angular team, after the experience with the previous incarnation of their framework in which this was easier, decided to choose performance in this case. So I would suggest you either rethink your design or rethink your framework choice. If you use Ionic 4, you’re not locked into Angular.