Ex: http://localhost:4200/pages/ui-features/grid
Its Loading loading, but wont working. my code is follows,

import { ExtraOptions, RouterModule, Routes } from '@angular/router';
import { NgModule } from '@angular/core';
import {
NbAuthComponent,
NbLoginComponent,
NbLogoutComponent,
NbRegisterComponent,
NbRequestPasswordComponent,
NbResetPasswordComponent,
} from '@nebular/auth';
const routes: Routes = [
{ path: 'pages', loadChildren: 'app/pages/pages.module#PagesModule' },
{
path: 'auth',
component: NbAuthComponent,
children: [
{
path: '',
component: NbLoginComponent,
},
{
path: 'login',
component: NbLoginComponent,
},
{
path: 'register',
component: NbRegisterComponent,
},
{
path: 'logout',
component: NbLogoutComponent,
},
{
path: 'request-password',
component: NbRequestPasswordComponent,
},
{
path: 'reset-password',
component: NbResetPasswordComponent,
},
],
},
{ path: '', redirectTo: 'pages', pathMatch: 'full' },
{ path: '**', redirectTo: 'pages' },
];
//const config: ExtraOptions = {
// useHash: true,
//};
@NgModule({
// imports: [RouterModule.forRoot(routes, config)],
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule],
})
export class AppRoutingModule {
}
//export const routing = RouterModule.forRoot(routes, { useHash: false });
try adding <base href='/'> to your index.html in the <head> section
You should close this ticket as well, as it looks like you posted your question here as well https://github.com/akveo/ngx-admin/issues/1173 and received an answer there as well.
Most helpful comment
try adding
<base href='/'>to your index.html in the<head>section