Initial commit
This commit is contained in:
@@ -1,12 +1,35 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
import {Component} from '@angular/core';
|
||||
import {RouterOutlet} from '@angular/router';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {InputTextModule} from 'primeng/inputtext';
|
||||
import {ButtonModule} from 'primeng/button';
|
||||
import {MessageModule} from 'primeng/message';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {BarComponent} from './component/bar/bar.component';
|
||||
import {ItemsComponent} from './component/items/items.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
imports: [RouterOutlet],
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
RouterOutlet,
|
||||
InputTextModule,
|
||||
ButtonModule,
|
||||
MessageModule,
|
||||
FormsModule,
|
||||
BarComponent,
|
||||
ItemsComponent
|
||||
],
|
||||
templateUrl: './app.component.html',
|
||||
styleUrl: './app.component.css'
|
||||
})
|
||||
export class AppComponent {
|
||||
title = 'dex-ui';
|
||||
text = '';
|
||||
|
||||
msg = '';
|
||||
|
||||
onClick() {
|
||||
this.msg = 'Welcome ' + this.text;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user