21 lines
578 B
TypeScript
21 lines
578 B
TypeScript
import { CommonModule } from '@angular/common';
|
|
import { Component } from '@angular/core';
|
|
import { RouterOutlet } from '@angular/router';
|
|
import { DeckListComponent } from './deck-list.component';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
template: `
|
|
<div class="container mx-auto p-4">
|
|
<h1 class="text-3xl font-bold text-center mb-8">Vocabulary Training</h1>
|
|
<app-deck-list></app-deck-list>
|
|
</div>
|
|
`,
|
|
standalone: true,
|
|
imports: [CommonModule, DeckListComponent]
|
|
})
|
|
export class AppComponent {
|
|
title = 'vocabulary-training';
|
|
ngOnInit(): void {
|
|
}
|
|
} |