uni-app of uni-ui Icon icon of components inside the mobile icon icon just common end, the demand for some other icons to be displayed, this is totally inadequate. So how do? Imitate its components, icons Alibaba icon vector library, their own definition of an icon component Yeah.
A, uni-app icon Components
1, m-icon component files there are two documents, a m-icon.css file is a file is m-icon.vue
2、m-icon.css
3、m-icon.vue
4, using
The above is an example of uni-app official website. Then we write a reference to the component itself.
Second, Ali Baba icon vector library
1, a registered Alibaba icon vector library account
2, select the icon you want, Add to Cart; then add inside the shopping cart icon to your project inside.