Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • app/ contains the theme's Angular components and should mirror the structure of src/app/

  • assets/ contains the theme's custom assets, such as fonts or images

  • styles/ contains the theme's global styles

  • eager-theme.module.ts declares the components that should be included in the app's main bundle, such as

    • Eager components are those that should be available immediately when first loading, such as the main parts of the homepage and components that are present on every page.

    • Entry components that are registered via a decorator such as @listableObjectComponent. These must also be included in the module's providers.

  • lazy-theme.module.ts declares all the other components of the theme.

Out of the box, there are three theming layers/directories to be aware of:

...