You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem appears to be that despite the font folder building as normal to /assets/dist/fonts and is physically there, it fails to show up in the Sources location when inspecting in the browser?!? Otherwise all the style references are the same and correct.
The text was updated successfully, but these errors were encountered:
can I get a little more information about the props you're using and the issue? 🙂
jit-props only knows to observe custom properties and inserts values from Open Props (in your example) into :root on discovery. you're sharing that the fonts are there but the prop referencing it isnt? is this a path issue to your local fonts or a custom property issue?
I'm not sure if this is related to that issue.
If we update the example with Nuxt (3.11) and install nuxt-font, we encounter a 500 error: [vite-node] [plugin:vite:css] /.nuxt/nuxt-fonts-global.css
ERROR Could not download google font metadata. @nuxt/fonts will not be able to inject @font-face rules for google. @nuxt/fonts 21:00:43
ERROR Could not download fontshare font metadata. @nuxt/fonts will not be able to inject @font-face rules for fontshare. @nuxt/fonts 21:00:43
If we remove postcss-jit-props, no error.
I don't have any leads on the issue yet.
I have this working entirely except the one thing it is breaking is my local @fontface fonts. I am using:
The problem appears to be that despite the font folder building as normal to /assets/dist/fonts and is physically there, it fails to show up in the Sources location when inspecting in the browser?!? Otherwise all the style references are the same and correct.
The text was updated successfully, but these errors were encountered: