File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ npx iconfont init
8585
8686------
8787
88- 现在,你可以参考[ snapshot目录 ] ( https://github.com/fwh1990/react-native-iconfont-cli/tree/master/snapshots ) 的快照文件,以区分不同模式下的图标结构。
88+ 现在,你可以参考[ snapshots目录 ] ( https://github.com/fwh1990/react-native-iconfont-cli/tree/master/snapshots ) 的快照文件,以区分不同模式下的图标结构。
8989
9090### save_dir
9191根据iconfont图标生成的组件存放的位置。每次生成组件之前,该文件夹都会被清空。
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ rm -rf ./src/iconfont
66./node_modules/.bin/tsc
77
88mv ./build/src/* ./build
9- rm -rf ./build/src ./build/snapshot
9+ rm -rf ./build/src ./build/snapshots
1010cp README.md package.json LICENSE ./build
1111cp -rf src/templates ./build/templates
1212
Original file line number Diff line number Diff line change 22 "symbol_url" : " http://at.alicdn.com/t/font_1373348_ghk94ooopqr.js" ,
33 "use_typescript" : false ,
44 "generate_mode" : " all-in-one" ,
5- "save_dir" : " ./snapshot /all-in-one-js" ,
5+ "save_dir" : " ./snapshots /all-in-one-js" ,
66 "trim_icon_prefix" : " icon-" ,
77 "default_icon_size" : 14
88}
Original file line number Diff line number Diff line change 22 "symbol_url" : " http://at.alicdn.com/t/font_1373348_ghk94ooopqr.js" ,
33 "use_typescript" : true ,
44 "generate_mode" : " all-in-one" ,
5- "save_dir" : " ./snapshot /all-in-one-ts" ,
5+ "save_dir" : " ./snapshots /all-in-one-ts" ,
66 "trim_icon_prefix" : " icon-" ,
77 "default_icon_size" : 16
88}
Original file line number Diff line number Diff line change 22 "symbol_url" : " http://at.alicdn.com/t/font_1373348_ghk94ooopqr.js" ,
33 "use_typescript" : false ,
44 "generate_mode" : " depends-on" ,
5- "save_dir" : " ./snapshot /depends-on-js" ,
5+ "save_dir" : " ./snapshots /depends-on-js" ,
66 "trim_icon_prefix" : " icon-" ,
77 "default_icon_size" : 18
88}
Original file line number Diff line number Diff line change 22 "symbol_url" : " http://at.alicdn.com/t/font_1373348_ghk94ooopqr.js" ,
33 "use_typescript" : true ,
44 "generate_mode" : " depends-on" ,
5- "save_dir" : " ./snapshot /depends-on-ts" ,
5+ "save_dir" : " ./snapshots /depends-on-ts" ,
66 "trim_icon_prefix" : " icon-" ,
77 "default_icon_size" : 20
88}
You can’t perform that action at this time.
0 commit comments