KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#claude-code
#codex
#cli
#developer-tools
#react
#windows
fumadocs-sanity
★ 44
Open GitHub ↗
An example of Fumadocs using Sanity
Download README (.md)
Explore Similar Repositories
OCSanity
:
OpenCore config.plist sanity checker
medium-clone
:
Medium Clone built with Next.js, Tailwind CSS & Sanity
next-cms-blog
:
Blog with Tags system - Next 14 and Sanity CMS
example-frontend-vue-js
:
An example of a Sanity powered frontend using Vue.js
sanity-mcp-server
:
Deprecated: Use the remote MCP server at https://mcp.sanity.io instead.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
fumadocs-sanity
?
Download (.md)
## Fumadocs Sanity This is an example for using Sanity with Fumadocs. - Draft Mode (Live Preview) - Studio ### Setup Initialize the project: ```bash pnpm i ``` Create a new project on Sanity, and create a `.env` file: ``` NEXT_PUBLIC_SANITY_PROJECT_ID="The Project ID" # it should be 'production' by default NEXT_PUBLIC_SANITY_DATASET="production" ``` Then, run `pnpm sanity manage`, go to the API tab. Under the **Tokens** section, create and obtain a token with **viewer** permission. Create a `.env.local` file to store it: ``` SANITY_API_READ_TOKEN="token here" ``` Run development server: ```bash pnpm dev ``` Open http://localhost:3000 with your browser to see the result. ### Deploy Before deploying, set a studio url in your `.env.production` or hosting platform: ``` STUDIO_URL=https://my-website.com/studio ``` Make sure to add your production url to CORS origin in Sanity dashboard too. You can deploy it to any Next.js compatible platform. ### Learn More To learn more about Next.js and Fumadocs, take a look at the following resources: - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - [Fumadocs](https://fumadocs.vercel.app) - learn about Fumadocs