antd angular ( NG-ZORRO )的官方文档中,新建项目的命令是:
根据命令新建好了,也可以 yarn start,但是我在 app.component.html (首页)中写入:
<button nz-button nzType="primary">Primary Button</button>
这个蓝色按钮就是出不来,原生按钮倒是出来了,毕竟是 button,但是 nz-button 这个指令好像没起作用,按钮的 css 也没加载,是不是这些组件必须按需加载啊?
使用的 ng-zorro-antd 是 11.2,angular 也是 11.2