hello,
I do a “npx sanity@latest init” and I have all the directories except the “fonts” directory.
How to add it back to the project?
here is the print screnn of the tutorial that I am following.
Thank you for your help
hello,
I do a “npx sanity@latest init” and I have all the directories except the “fonts” directory.
How to add it back to the project?
here is the print screnn of the tutorial that I am following.
Thank you for your help
Hey! This doesn’t come out of the box with the latest Sanity template. If it doesn’t exist in your project, create the “fonts” directory and copy over the fonts or configurations there.
Sanity’s default project setup doesn’t include a fonts
directory by default. If you’re expecting a fonts
directory, it’s likely that:
public/fonts
or assets/fonts
folder, but this isn’t automatically generated by npx sanity@latest init
.fonts
directory but it doesn’t exist, you can create one manually inside public/
or styles/
depending on your project structure.This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.