Chankya
  • Introduction
  • Getting Started
  • Start Building
  • Layouts
  • Seed Project
  • Style Customisation
  • Third Party Modules
  • UI Elements
    • Buttons
    • Progress Bar
    • Tabs
    • Accordions
    • Pagination
    • Tooltip
    • Cards
    • Social Icons
    • Typography
    • Drop down
    • Alerts
    • Carousel
    • Date picker
    • Slider
  • Components
    • List
    • Grid
  • Contact Us
    • Hire Us
  • Changelog
Powered by GitBook
On this page

Was this helpful?

Seed Project

Chankya comes with a seed project. You can start your app from scratch with it. Its easy to build new app structure which can be further extended and enhanced with new features and pages as per requirement.

It included all core files required to run an app with flexibility to include new components and modules to integrate new features and functionality.

Add menu item

After adding a new component for a page you can add its menu item in app-routing.module.ts file, first you need to add a new route in app-routing.module.ts file as follows.

{ path: 'mypage', component: MypageComponent },

After adding route you need to add link in menu-item.ts file under code/menu/menu-items folder as follows.

{
    state: 'mypage',
    name: 'My Page',
    type: 'link',
    icon: 'icon-envelope-letter icons'
 }

PreviousLayoutsNextStyle Customisation

Last updated 6 years ago

Was this helpful?