UI Component

There are following method to add any UI component in your app. Here we only taking the example of button component.‌

Adding Buttons in your project

There following steps to add Buttons‌

1.First of all, you have to edit in app.module file ,which is located in your-project-name\src\app folder.

2.Import following files in app.module file

import { ButtonsComponent }   from './components/buttons/buttons.component';

3.Now open app-routing.module.ts file and import this file.

import { ButtonsComponent }   from './components/buttons/buttons.component';

After this,add following in routes

{ path: 'components/buttons', component: ButtonsComponent }
Last Updated 5 years ago
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages