新建项目:
ng new project_name
手动安装NG_ZORRO组件
npm install ng-zorro-antd --save
在angular.json文件中引入:
在style.css文件中引入:
组件使用方式【button举例】:
引入button模块
使用:
效果:
新建项目:
ng new project_name
手动安装NG_ZORRO组件
npm install ng-zorro-antd --save
在angular.json文件中引入:
在style.css文件中引入:
组件使用方式【button举例】:
引入button模块
使用:
效果: