Skip to content

Instantly share code, notes, and snippets.

@thepatrickniyo
Created December 5, 2025 15:54
Show Gist options
  • Select an option

  • Save thepatrickniyo/c1cab5cec43041f662a231b9293835b8 to your computer and use it in GitHub Desktop.

Select an option

Save thepatrickniyo/c1cab5cec43041f662a231b9293835b8 to your computer and use it in GitHub Desktop.
codeway-sanity.config.ts
import {defineConfig} from 'sanity'
import {structureTool} from 'sanity/structure'
import {schemaTypes} from './src/schemaTypes'
const SANITY_PROJECT_ID = '';
const SANITY_DATASET = '';
export default defineConfig({
basePath: '/admin',
name: 'default',
title: 'codeway',
projectId: SANITY_PROJECT_ID,
dataset: SANITY_DATASET,
plugins: [structureTool()],
schema: {
types: schemaTypes,
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment