YETI
GithubDemo
develop
develop
  • YETI
  • Features
  • Getting Started
    • Why
    • Installation
    • Project Layout
    • NX commands
    • Playbook
    • NestJS Playbook
    • Scaffolding
  • Concepts
    • Introduction
    • Monorepo
    • DDD
    • Clean Architecture
  • Advanced
    • Content Management
    • Protobuf Tools
    • Protoc
    • Envoy
    • Style Guild
    • Angular Universal
    • Firebase
  • Modules
    • Apps
      • WebApp
      • Api
    • Libs
      • Admin
      • Blog
      • Core
      • Dashboard
      • Gen
      • Home
      • Not Found
      • Shared
  • GitOps
    • Build
    • Code Quality
    • API Docs
    • Release
    • CICD
  • DevOps
    • Database
    • Kubernetes
    • Deploy
  • Recipes
    • Authentication
    • Caching
    • Component Events from NGXS
    • Debouncing Actions
    • Dynamic Plugins
    • Immutability Helpers
    • Style Guide
    • Unit Testing
  • Community
    • Resources
    • Contributors
    • Contributing
  • FAQ
    • Yeti
    • Angular
    • GitBook
    • Awesome Links
  • Change Log
Powered by GitBook
On this page
  • Service
  • Stores
  • Handlers
  • Interceptors
  • Running unit tests
  • Usage

Was this helpful?

  1. Modules
  2. Libs

Core

PreviousBlogNextDashboard

Last updated 5 years ago

Was this helpful?

This library was generated with .

This module should contain minimal shared Guards, Services , State Injectables

It should not contain Components, Directives and Pipes. For that, use SharedModule

import CoreModule in only AppModule

Service

  1. AppConfigService - loading remote config and featureFlags

  2. PageTitleService - set page title from breadcrumbs

  3. AnalyticsService - Google Analytics

Stores

  1. AuthState - keep track of auth state

Handlers

  1. RouteHandler - update page title and send page views to google analytics

Interceptors

  1. ErrorInterceptor - report http errors

Running unit tests

Run nx test core to execute the unit tests.

Usage

Eva Icons

<nb-icon
  icon="arrow-circle-right-outline"
  [options]="{ animation: { type: 'zoom' } }"
></nb-icon>

Fontawesome icons

<nb-icon icon="star" pack="fas"></nb-icon>
<nb-icon icon="arrow-alt-circle-right" pack="far"></nb-icon>
Nx