Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon fonts cannot be displayed & how to repair it #186

Open
yelban opened this issue Mar 14, 2022 · 1 comment
Open

Icon fonts cannot be displayed & how to repair it #186

yelban opened this issue Mar 14, 2022 · 1 comment

Comments

@yelban
Copy link

yelban commented Mar 14, 2022

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 yelban changed the title Iconic fonts cannot be displayed & how to repair Iconic fonts cannot be displayed & how to repair it Mar 14, 2022
@yelban yelban changed the title Iconic fonts cannot be displayed & how to repair it Icon fonts cannot be displayed & how to repair it Mar 14, 2022
@psy0rz
Copy link

psy0rz commented Mar 18, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants