Skip to content

New architecture

Lukas Weingarten requested to merge 1067-new-architecture into master

Refactor file structure and use defined import paths

  • Use a core folder for all core services, components, models, guards etc. which are needed always
  • Use a shared folder and SharedModule for components which are used by multiple components
  • Use a shared folder and SharedModule for components which are used by multiple components

Also introduce global paths for most common directories like @app, @core, @creator etc. to avoid long absolute or hard to read relative import paths.

Cleanup modules

  • Remove EssentialsModules exports to CoreModule which is imported by all other modules
  • Move role specific components to correct module
  • Stop importing SharedModule to AppModule since most components are used by role modules

For this make FooterComponent and LoadingIndicatorComponent standalone to import in app- and shared module.

Closes #1067 (closed)

Merge request reports