Replies: 3 comments 1 reply
-
I gave some more thought to this, but still don't get an idea: This is my current scenario:I included the font this way:
Now I process my css using Laravel-mix:
This is what my processed css looks like:
Somehow I need to find a way to include those versioned font-calls to my prefetching. My first attempt was to iterate over all files in
An idea that I had was to add the urls to |
Beta Was this translation helpful? Give feedback.
-
I had the same problem, fonts were loaded twice. What fixed it for me was adding the
You can then keep your |
Beta Was this translation helpful? Give feedback.
-
what to do about this warnig in react |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody,
I am using Tailwindcss with VueJS and Laravel-Mix (Webpack).
I'd like to use custom local fonts.
This is how I included them:
Now my question: For performance reasons I'd like to preload my fonts using
<link rel=preload>
. Is it possible to split the generated css file intoapp.css
andfonts.css
?Beta Was this translation helpful? Give feedback.
All reactions