✨Discover storytelling in the AI age with Pixar's Matthew Luhn at Sanity Connect, May 8th—register now

Confusion about changes in folder structure in Sanity.io project.

2 replies
Last updated: Feb 26, 2024
Hey everyone:)
Haven’t used Sanity in a few months. Still new to webdev and I’m worried not to mess something up. There used to be a
folder, now there’s
, is it the same thing? Because I can’t find the old one when I created a new app.
The index in
is still just
export const schemaTypes = []
, but I wanted to make sure I’m doing everything right. The change isn’t reflected on the sanity getting started guide in the docs.

Thank you!
Feb 23, 2024, 10:01 AM
You’re doing it correctly! Did this show up in a Studio from the CLI or did you clone a template? The naming and structure of the directories ultimately does not matter. As long as the path to whatever you’re trying import is correct, you can structure everything however you want.
Feb 23, 2024, 6:40 PM
Ah good to hear, thank you very much for the feedback! This was from creating a new sanity app from CLI, no template. It just showed up with only
Feb 26, 2024, 1:58 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?