framework7-cli icon indicating copy to clipboard operation
framework7-cli copied to clipboard

Icon fonts cannot be displayed & how to repair it

Open yelban opened this issue 3 years ago • 1 comments

we need options --flat in packages.json/scripts/postinstall to make icon-fonts copy correctly from "postinstall": "cpy ./node_modules/framework7-icons/fonts/*.* ./src/fonts/ && cpy ./node_modules/material-icons/iconfont/*.* ./src/fonts/" to "postinstall": "cpy ./node_modules/framework7-icons/fonts/*.* ./src/fonts/ --flat && cpy ./node_modules/material-icons/iconfont/*.* ./src/fonts/ --flat"

yelban avatar Mar 14 '22 05:03 yelban

thanks! this took me ages to find out! (im new to framework7)

psy0rz avatar Mar 18 '22 10:03 psy0rz