{"repo":"fuma-nama/fumadocs-sanity","free":true,"listed":false,"github":"https://github.com/fuma-nama/fumadocs-sanity","clone":"git clone https://github.com/fuma-nama/fumadocs-sanity.git","description":"An example of Fumadocs using Sanity","language":"TypeScript","stars":44,"topics":["fumadocs","nextjs","sanity-io","sanity-studio"],"license":null,"category":"dashboards-admin","readme_excerpt":"Fumadocs Sanity This is an example for using Sanity with Fumadocs. - Draft Mode (Live Preview) - Studio Setup Initialize the project: Create a new project on Sanity, and create a .env file: 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: Run development server: 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: 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 - learn about Next.js features and API. - Learn Next.js - an interactive Next.js tutorial. - Fumadocs - learn about Fumadocs","default_branch":null,"files":null,"tree":[],"storefront":"/r/fuma-nama","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fuma-nama/fumadocs-sanity/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}