Siget is built entirely on Angular 21’s standalone component model — there are noDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/kevinrodriguezmorales/siget/llms.txt
Use this file to discover all available pages before exploring further.
NgModule declarations anywhere in the project. Every component is self-contained: it declares its own imports, template, and styles in a single @Component decorator, making the dependency graph explicit and easy to follow.
The Root App Component
The entry point of the application issrc/app/app.ts. It imports RouterOutlet directly and exposes the application title through an Angular Signal:
imports replaces the old NgModule.imports array — you list only what this component actually uses. Here, RouterOutlet is imported so the template can render the active route.
Generating a New Component
The Angular CLI scaffolds new standalone components for you. Run either of the following from the project root:Default Style: SCSS
Siget configures the@schematics/angular:component schematic in angular.json to use SCSS for all generated components:
.scss file instead of .css, and the styleUrl in the decorator will reference it accordingly.
Example: A Generated Component
After runningng g c my-feature, the resulting component class looks like this:
imports array starts empty — add Angular directives, pipes, or other components there as you build out the feature.
Angular Signals
The rootApp component uses signal() from @angular/core to hold reactive state. Signals are Angular’s primitive for fine-grained reactivity and replace many use cases that previously required BehaviorSubject or ChangeDetectorRef.
The three core APIs are:
title() in app.html reads the current value and marks the view for re-render when the signal changes.
Code Generation Reference
| Schematic | Command | Description |
|---|---|---|
| component | ng g component name | Creates a standalone component |
| directive | ng g directive name | Creates a directive |
| pipe | ng g pipe name | Creates a transform pipe |
| service | ng g service name | Creates an injectable service |
| guard | ng g guard name | Creates a route guard |
The SCSS style default is set once in
angular.json under schematics["@schematics/angular:component"].style. Changing it to css or less there applies the new default to every subsequent ng generate component call.