How to properly import fonts (with Tailwind)
I’m using SolidStart + Tailwind for a project, and i can not import my font.
I tried both importing it from the /public/ directory and using @fontsource (aka as a node module).
If I put the import statement in my root.tsx, I dont get any error and it simply uses the fallback font.
If I try putting the import in my entry-client.tsx I get a file not found error ( see attached screenshot).
my root.css
my entry-client.tsx
I tried both importing it from the /public/ directory and using @fontsource (aka as a node module).
If I put the import statement in my root.tsx, I dont get any error and it simply uses the fallback font.
If I try putting the import in my entry-client.tsx I get a file not found error ( see attached screenshot).
my root.css
my entry-client.tsx

