This commit is contained in:
+6
-7
@@ -1,12 +1,11 @@
|
||||
import { Component, signal } from '@angular/core';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
import { Component, inject } from "@angular/core";
|
||||
import { CounterStore } from "./core/counter.store";
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
imports: [RouterOutlet],
|
||||
templateUrl: './app.html',
|
||||
styleUrl: './app.css'
|
||||
selector: "app-root",
|
||||
templateUrl: "./app.html",
|
||||
styleUrl: "./app.css",
|
||||
})
|
||||
export class App {
|
||||
protected readonly title = signal('ngrx-playground');
|
||||
readonly store = inject(CounterStore);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user