Skip to content

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

Open

Description

@yelban

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"

Activity

  1. changed the title [-]Iconic fonts cannot be displayed & how to repair[/-] [+]Iconic fonts cannot be displayed & how to repair it[/+] on Mar 14, 2022
  2. changed the title [-]Iconic fonts cannot be displayed & how to repair it[/-] [+]Icon fonts cannot be displayed & how to repair it[/+] on Mar 14, 2022
  3. psy0rz commented on Mar 18, 2022

    @psy0rz

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions