Skip to content

Serve font icons locally

Iliana Nikolova edited this page Oct 2, 2023 · 1 revision

To visualize the newly generated font icon locally, follow these steps:

  1. In the docs/index.html file comment the link to the latest official kendo-font-icons version and uncomment the local one:
    <!--<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-font-icons/dist/index.css" />-->
    <link rel="stylesheet" href="../packages//font-icons/dist/index.css" />
    
  2. In the docs/index.html file comment the fetching of the latest official icons.json and uncomment the local one:
    // fetch('https://unpkg.com/@progress/kendo-font-icons/dist/icons.json')
    fetch('../src/telerik-icons/icons.json')
    
  3. Run npm run serve and follow the served url.
Clone this wiki locally