added ionic library in project

This commit is contained in:
2026-03-12 17:25:59 +01:00
parent 125bb60cfe
commit 2c0381964c
8 changed files with 339 additions and 343 deletions
+12 -2
View File
@@ -1,12 +1,22 @@
import { Component, signal } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import {IonicModule} from "@ionic/angular";
import { addIcons } from 'ionicons';
import { heart } from 'ionicons/icons';
@Component({
selector: 'app-root',
imports: [RouterOutlet],
imports: [RouterOutlet, IonicModule],
templateUrl: './app.html',
styleUrl: './app.css'
})
export class App {
protected readonly title = signal('BeReadyFrontend');
constructor() {
/**
* Any icons you want to use in your application
* can be registered in app.component.ts and then
* referenced by name anywhere in your application.
*/
addIcons({ heart });
}
}