Font loading problem

Post Reply
Posts: 18
Joined: 27 Dec 2017, 18:05

04 Jan 2018, 14:16

If I run default ultima angular-cli project anywhere else than root directory (ie. under some virtual directory), I get three 'Failed to load resource: the server responded with a status of 404 (not found)' for roboto-v15-latin-regular.woff2, MaterialIcons-regular.woff2 and roboto-v15-latin-700.woff2.

I have changed base-href in index.html. Those font files also fail also with any project based on that ultima angular-cli project.


Posts: 18303
Joined: 05 Jan 2009, 00:21
Location: Cybertron

18 Jan 2018, 10:50

Try building with --base-href option so that CLI will add your path to the resources.

Posts: 18
Joined: 27 Dec 2017, 18:05

22 Jan 2018, 14:06

Thanks - but for some reason that doesn't work:
I get this 'GET http://server/vdir/assets/layout/fonts/roboto-v15-latin-regular.woff2 net::ERR_ABORTED'
and also for these: "assets/layout/fonts/MaterialIcons-Regular.woff2" and "assets/layout/fonts/roboto-v15-latin-700.woff2"

Those come (developer console) only when using Chrome, not when using IE and IE dev tools console.

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest