[frontend] Fix import paths
This commit is contained in:
parent
ea79b87e23
commit
e5c6f14973
|
@ -2,8 +2,8 @@ import { NgModule } from '@angular/core';
|
||||||
import { Routes, RouterModule } from '@angular/router';
|
import { Routes, RouterModule } from '@angular/router';
|
||||||
import { NotFoundComponent } from './shared/not-found/not-found.component';
|
import { NotFoundComponent } from './shared/not-found/not-found.component';
|
||||||
import { HomepageComponent } from './homepage/homepage.component';
|
import { HomepageComponent } from './homepage/homepage.component';
|
||||||
import { LoginComponent } from './auth/login/login.component';
|
import { LoginComponent } from './login/login.component';
|
||||||
import { RegisterComponent } from './auth/register/register.component';
|
import { RegisterComponent } from './register/register.component';
|
||||||
import { OrganizerspageComponent } from './organizerspage/organizerspage.component';
|
import { OrganizerspageComponent } from './organizerspage/organizerspage.component';
|
||||||
import { HoodspageComponent } from './hoodspage/hoodspage.component';
|
import { HoodspageComponent } from './hoodspage/hoodspage.component';
|
||||||
import { HoodpageComponent } from './hoodpage/hoodpage.component';
|
import { HoodpageComponent } from './hoodpage/hoodpage.component';
|
||||||
|
|
|
@ -6,14 +6,16 @@ import { AppComponent } from './app.component';
|
||||||
import { SharedModule } from './shared/shared.module';
|
import { SharedModule } from './shared/shared.module';
|
||||||
import { HomepageComponent } from './homepage/homepage.component';
|
import { HomepageComponent } from './homepage/homepage.component';
|
||||||
import { OrganizerspageComponent } from './organizerspage/organizerspage.component';
|
import { OrganizerspageComponent } from './organizerspage/organizerspage.component';
|
||||||
import { AuthModule } from './auth/auth.module';
|
|
||||||
import { DashboardModule } from './dashboard/dashboard.module';
|
import { DashboardModule } from './dashboard/dashboard.module';
|
||||||
import { HoodpageComponent } from './hoodpage/hoodpage.component';
|
import { HoodpageComponent } from './hoodpage/hoodpage.component';
|
||||||
import { HoodspageComponent } from './hoodspage/hoodspage.component';
|
import { HoodspageComponent } from './hoodspage/hoodspage.component';
|
||||||
import { ApiModule } from './api/api.module';
|
import { ApiModule } from './core/api/api.module';
|
||||||
import { HttpClientModule } from '@angular/common/http';
|
import { HttpClientModule } from '@angular/common/http';
|
||||||
import { BASE_PATH } from './api/variables';
|
import { BASE_PATH } from './core/api/variables';
|
||||||
import { environment } from 'src/environments/environment';
|
import { environment } from 'src/environments/environment';
|
||||||
|
import { LoginComponent } from './login/login.component';
|
||||||
|
import { RegisterComponent } from './register/register.component';
|
||||||
|
import { ReactiveFormsModule } from '@angular/forms';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
|
@ -22,15 +24,17 @@ import { environment } from 'src/environments/environment';
|
||||||
OrganizerspageComponent,
|
OrganizerspageComponent,
|
||||||
HoodpageComponent,
|
HoodpageComponent,
|
||||||
HoodspageComponent,
|
HoodspageComponent,
|
||||||
|
LoginComponent,
|
||||||
|
RegisterComponent,
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
BrowserModule,
|
BrowserModule,
|
||||||
AppRoutingModule,
|
AppRoutingModule,
|
||||||
SharedModule,
|
SharedModule,
|
||||||
AuthModule,
|
|
||||||
DashboardModule,
|
DashboardModule,
|
||||||
ApiModule,
|
ApiModule,
|
||||||
HttpClientModule,
|
HttpClientModule,
|
||||||
|
ReactiveFormsModule,
|
||||||
],
|
],
|
||||||
providers: [{ provide: BASE_PATH, useValue: environment.API_BASE_PATH }],
|
providers: [{ provide: BASE_PATH, useValue: environment.API_BASE_PATH }],
|
||||||
bootstrap: [AppComponent],
|
bootstrap: [AppComponent],
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { HoodsService } from '../api/api/hoods.service';
|
import { HoodsService } from '../core/api/api/hoods.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-hoodspage',
|
selector: 'app-hoodspage',
|
||||||
|
|
Loading…
Reference in a new issue