import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
import { NativeScriptCommonModule, NativeScriptFormsModule } from '@nativescript/angular';
import { NgxsModule } from '@ngxs/store';
import '@nota/nativescript-webview-ext/angular';
import { LoginState } from '~/pages/login/state-mgmt/login.state';
import { LoginComponent } from './containers/login.component';
import { LoginRoutingModule } from './login-routing.module';

@NgModule({
    imports: [
        NativeScriptCommonModule,
        LoginRoutingModule,
        NativeScriptFormsModule,
        NgxsModule.forFeature([
            LoginState
        ])
    ],
    declarations: [
        LoginComponent
    ],
    schemas: [
        NO_ERRORS_SCHEMA
    ]
})
export class LoginModule {
}
