File(s) | Description |
---|---|
sanity.config.ts |
Config file for Sanity Studio |
sanity.cli.ts |
Config file for Sanity CLI |
/app/studio/[[...tool]]/Studio.tsx |
Where Sanity Studio is mounted |
/app/api/revalidate/route.ts |
Serverless route for triggering ISR |
/app/api/draft/route.ts |
Serverless route for triggering Draft mode |
/sanity/schemas |
Where Sanity Studio gets its content types from |
/sanity/plugins |
Where the advanced Sanity Studio customization is setup |
/sanity/loader/loadQuery.ts ,/sanity/loader/useQuery.ts |
Configuration for the Sanity Content Lake client |
npm install && npm run dev
When you run this development server, the changes you make in your frontend and studio configuration will be applied live using hot reloading.
Your personal website should be up and running on http://localhost:3000! You can create and edit content on http://localhost:3000/studio.
To deploy your changes to production you use git
:
git add .
git commit
git push
Alternatively, you can deploy without a git
hosting provider using the Vercel CLI:
npx vercel --prod
In case of any issues or questions, you can post:
You can remove it by deleting the IntroTemplate
component in /app/(personal)/layout.tsx
.