https://oblador.github.io/react-native-vector-icons/
forkonly
FontAwesome
by Dave Gandy (v4.7.0, 675 icons)
add http://www.iconfont.cn/ lib
Installation
-
Run:
$ npm install react-native-vector-icons-iconfont --save
-
react-native link
update iconfont
-
cd {your project}/node_modules/react-native-vector-icons-iconfont
-
cp http://www.iconfont.cn/ your lib to iconfont/
-
npm run build
-
only android need cp Fonts/IconFont.ttf android/src/main/assets/fonts
打包操作步骤: 1、将阿里图标库https://www.iconfont.cn项目管理中“千米-App”项目下载到本地 2、解压阿里图标文件,将解压的内容放在“iconfont” 3、npm run build 4、npm login 图标库打包登录账号: npm login username:qmued password:116Abc email:qmued@qianmi.com 5、npm publish