Answer the question
In order to leave comments, you need to log in
How to display Ant.Design markup in Pug?
There is a Card component:
import { Component } from '@angular/core';
@Component({
selector: 'nz-demo-card-basic',
template: `
<nz-card style="width:300px;">
<ng-template #title>
Card title
</ng-template>
<ng-template #extra>
<a>More</a>
</ng-template>
<ng-template #body>
<p>Card content</p>
<p>Card content</p>
<p>Card content</p>
</ng-template>
</nz-card>
`,
styles : []
})
export class NzDemoCardBasicComponent { }
nz-card(style="width:300px;")
ng-template#title Card title
ng-template#extra
a More
ng-template#body
p Card content
p Card content
p Card content
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question