Comments (5)
Hey @jarredszabadi, could you provide your menu config, please?
from nebular.
`import { NbMenuItem } from 'nebular/theme';
export const MENU_ITEMS: NbMenuItem[] = [
{
title: 'At A Glance',
icon: 'ion-home',
link: '/pages/at-a-glance',
home: true,
},
{
title: 'ANALYTICS',
group: true,
},
{
title: 'Manufacturers',
icon: 'ion-briefcase',
link: '/pages/manufacturers',
},
{
title: 'Equipment',
icon: 'ion-document-text',
link: '/pages/equipment',
},
{
title: 'Gym Capacity',
icon: 'ion-podium',
link: '/pages/gym_capacity',
},
{
title: 'Gym Management',
icon: 'ion-battery-half',
link: '/pages/gym_management',
},
{
title: 'Manufacturer Drill Down',
icon: 'ion-arrow-graph-up-right',
link: '/pages/manufacturer_drill_down',
},
{
title: 'Equipment Drill Down',
icon: 'ion-arrow-graph-up-left',
link: '/pages/equipment_drill_down',
},
];
`
***had to remove the @ from the nebular/theme import for it to show up in the post on github.
from nebular.
Could you add your routes also ? I tried to verify it by having 2 menu items like:
-staff
-staff_list
And did not got the same result.
from nebular.
`import { RouterModule, Routes } from 'angular/router';
import { NgModule } from 'angular/core';
import { PagesComponent } from './pages.component';
import { AtAGlanceComponent } from './at_a_glance/at_a_glance.component';
import { ManufacturerComponent } from './manufacturer/manufacturer.component';
import { EquipmentComponent } from './equipment/equipment.component';
import { GymCapacityComponent } from './gym_capacity/gym_capacity.component';
import { GymManagementComponent } from './gym_management/gym_management.component';
import { ManufacturerDrillDownComponent } from './manufacturer_drill_down/manufacturer_drill_down.component';
import { EquipmentDrillDownComponent } from './equipment_drill_down/equipment_drill_down.component';
const routes: Routes = [{
path: '',
component: PagesComponent,
children: [
{
path: 'at-a-glance',
component: AtAGlanceComponent,
},
{
path: 'manufacturers',
component: ManufacturerComponent,
},
{
path: 'equipment',
component: EquipmentComponent,
},
{
path: 'gym_capacity',
component: GymCapacityComponent,
},
{
path: 'gym_management',
component: GymManagementComponent,
},
{
path: 'manufacturer_drill_down',
component: ManufacturerDrillDownComponent,
},
{
path: 'equipment_drill_down',
component: EquipmentDrillDownComponent,
},
{
path: '',
redirectTo: 'at-a-glance',
pathMatch: 'full',
}],
}];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class PagesRoutingModule {
}
`
from nebular.
Closing as it's been a while and similar issues have been fixed.
from nebular.
Related Issues (20)
- Nb Stepper Long Names Overlapping on Horizontal Alignment
- #nebular
- Support for Angular 17 HOT 4
- Install Nebular theme error -> Could not read Angular module file: /src/[object Object].ts HOT 8
- [Calendar] [DatePicker] components aren't translated when switching languages HOT 1
- nb-tabset not workign with ng-content
- The Nebular Dropdown (nbSelect) remains open and does not collapse when scrolling the page. HOT 1
- caught error defaultview
- error handling when serve the project(ng serve) I'm using angular 12th version
- logout
- logout
- pipe table
- Theme is not a map.
- Could not read Angular module file: /src/null.ts (Standalone) or /src/[object Object].ts (ng modules) HOT 6
- Docs: latest version 9.0.0 but appear to have version 13 installed HOT 2
- NbTreeGrid Error NullInjectorError: No provider for InjectionToken CDK_TABLE! HOT 9
- RangePicker only Month and Year
- Request for Multiline Input Support in <nb-chat-from> Component
- angular/[email protected]: [ERROR] TS2610 in NbTable HOT 8
- Same issue with Angular 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nebular.