The mini-program extended component library is an important supplement to the basic component library, and is a set of open source UI component libraries developed based on the mini-program custom component specifications for rapid reuse by mini-program developers.
Installation
Run the following command to install a mini-program extended component:
$ npm i antd-mini -SUsage
Register a component in the JSON file of a page. For example, to register a tag component, you can use the following statement:
{
"usingComponents": {
"tag": "antd-mini/es/Tag/index"
}
}Call the component in the axml file:
<tag></tag>