Font loading problem

Post Reply
Posts: 5
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.


User avatar
Posts: 17793
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: 5
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
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest