Hussein
Hussein
Explore posts from servers
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
i will take care of that, just wanted to make sure it works at all, thanks!
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
good
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
i'm not seeing any flash, with "cache" disabled in network tab
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
i think it works
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
ok
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
is it ok i have chrome devtools cache disabled to test?
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
dev
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
should i not include .woff, only include .woff2?
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
and it still flashes
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
._. i'm doing this
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
No description
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
should i add it before {assets} or after?
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
or maybe i did it wrong
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
yeah that's what i did, it didn't work
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
i was tryna use it for fout but it didn't fix it, any ideas for fout?
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
or i can preload them all 😐
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
console.log(
await Promise.all(
Object.values(
import.meta.glob<boolean, string, { default: string }>(
"/node_modules/@fontsource/oswald/files/**/*",
{
query: "?url",
}
)
).map(async (fun) => (await fun()).default)
)
);
console.log(
await Promise.all(
Object.values(
import.meta.glob<boolean, string, { default: string }>(
"/node_modules/@fontsource/oswald/files/**/*",
{
query: "?url",
}
)
).map(async (fun) => (await fun()).default)
)
);
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
there's at least 10 in the css 😐 which do i specify?
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
No description
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
its a little complex, i need to know which ones are being used
40 replies