auto migrate standalone components
This commit is contained in:
@@ -1,14 +1,30 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {UntypedFormControl, UntypedFormGroup, Validators} from '@angular/forms';
|
||||
import {Router} from '@angular/router';
|
||||
import { UntypedFormControl, UntypedFormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
|
||||
import { Router, RouterLink } from '@angular/router';
|
||||
import {UserService} from '../../../services/user/user.service';
|
||||
import {faSignInAlt, faUserPlus} from '@fortawesome/free-solid-svg-icons';
|
||||
import { LogoComponent } from '../../../widget-modules/components/logo/logo.component';
|
||||
import { MatFormField, MatLabel } from '@angular/material/form-field';
|
||||
import { MatInput } from '@angular/material/input';
|
||||
import { NgIf } from '@angular/common';
|
||||
import { MatButton } from '@angular/material/button';
|
||||
import { AuthMessagePipe } from './auth-message.pipe';
|
||||
|
||||
@Component({
|
||||
selector: 'app-login',
|
||||
templateUrl: './login.component.html',
|
||||
styleUrls: ['./login.component.less'],
|
||||
standalone: false,
|
||||
selector: 'app-login',
|
||||
templateUrl: './login.component.html',
|
||||
styleUrls: ['./login.component.less'],
|
||||
imports: [
|
||||
LogoComponent,
|
||||
ReactiveFormsModule,
|
||||
MatFormField,
|
||||
MatLabel,
|
||||
MatInput,
|
||||
NgIf,
|
||||
MatButton,
|
||||
RouterLink,
|
||||
AuthMessagePipe,
|
||||
],
|
||||
})
|
||||
export class LoginComponent implements OnInit {
|
||||
public form: UntypedFormGroup = new UntypedFormGroup({
|
||||
|
||||
Reference in New Issue
Block a user