An Angular UI component library based on Ant Design.
$ ng new PROJECT_NAME
$ cd PROJECT_NAME
$ ng add @ng-solid/components
You can also install @ng-solid/components
with npm or yarn
Import the component module you want to use in your app.module.ts
file
or feature modules as you need.
import { NsButtonModule } from '@ng-solid/components';
@NgModule({
imports: [
...
NsButtonModule
]
})
export class AppModule
{
}
and in your html template
<ns-button label="My Button" [primary]="true"></ns-button>