There's no data available for development. Several errors reported in console.
Desired Additional Features
Leveraging Angular's DI system, we can have two different implementations of the data fetching services, and provide them in two modules:
RealDataModule
MockDataModule
The different implementations are provided in the corresponding modules, and we can switch from these two data sources by importing different modules. When combined with the environment.ts file, it is possible to automatically switch to production data for production build, and use mock data for development by default.
Current Features
There's no data available for development. Several errors reported in console.
Desired Additional Features
Leveraging Angular's DI system, we can have two different implementations of the data fetching services, and provide them in two modules:
The different implementations are provided in the corresponding modules, and we can switch from these two data sources by importing different modules. When combined with the
environment.ts
file, it is possible to automatically switch to production data for production build, and use mock data for development by default.Example: https://github.com/Char2sGu/reply/tree/develop/projects/reply/src/backends
Screenshots (as needed)
No response