diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index be3cd19..7352f9c 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -15,6 +15,6 @@ export const routes: Routes = [ ] }, - { path: 'auth', loadChildren: () => import('./demo/components/auth/routes')}, + { path: 'auth', loadChildren: () => import('../views/pages/auth/routes')}, { path: '**', redirectTo: '/notfound' }, ]; diff --git a/src/app/demo/components/auth/access.ts b/src/views/pages/auth/access.ts similarity index 100% rename from src/app/demo/components/auth/access.ts rename to src/views/pages/auth/access.ts diff --git a/src/app/demo/components/auth/error.ts b/src/views/pages/auth/error.ts similarity index 100% rename from src/app/demo/components/auth/error.ts rename to src/views/pages/auth/error.ts diff --git a/src/app/demo/components/auth/login.ts b/src/views/pages/auth/login.ts similarity index 97% rename from src/app/demo/components/auth/login.ts rename to src/views/pages/auth/login.ts index 3cd554e..98ae791 100644 --- a/src/app/demo/components/auth/login.ts +++ b/src/views/pages/auth/login.ts @@ -6,7 +6,8 @@ import { PasswordModule} from 'primeng/password'; import {FormsModule} from '@angular/forms'; import {RouterModule} from '@angular/router'; import { RippleModule} from 'primeng/ripple'; -import {LayoutService} from '../../../layout/service/app.layout.service'; +import {LayoutService} from '../../../app/layout/service/app.layout.service'; + @Component({ selector: 'app-login', diff --git a/src/app/demo/components/auth/routes.ts b/src/views/pages/auth/routes.ts similarity index 100% rename from src/app/demo/components/auth/routes.ts rename to src/views/pages/auth/routes.ts