#Fonts are load doubled?!

9 messages Β· Page 1 of 1 (latest)

rough karma
#

Hey there I had a look into the network tab and I can see that my qwikJS App is loading the fonts two times... Do you knwo why that happen?

random vale
rough karma
#

Both πŸ™‚

random vale
#

Weird. How are you loading your fonts? In DocumentHead or some other way?

rough karma
#

Im working with tailwindd πŸ™‚

drifting arrow
#

could your tailwind confs import them twice ?

rough karma
#

Yep I think thats was the problem.
My global CSS:

@import "./Theme/css/theme.css";

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  @font-face {
    ...
  }
 
}
...

My theme css:
But here I dont include the font face, I think its the @tailwind ...

@tailwind base;
@tailwind components;
@tailwind utilities;
...

drifting arrow
#

what @tailwind does behind the scene ?

rough karma
#

I dont know πŸ˜‚