You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file is automatically generated by Sanity TypeGen and should not be
tracked in version control. Removing it to prevent confusion and merge
conflicts since it will be regenerated on demand.
diff --git a/studio/sanity.config.ts b/studio/sanity.config.ts
index e69de29..0000000 100644
--- a/studio/sanity.config.ts
+++ b/studio/sanity.config.ts
@@ -0,0 +1,43 @@
+import {defineConfig} from 'sanity'
+import {deskTool} from 'sanity/desk'
+import {visionTool} from '@sanity/vision'
+import {schemaTypes} from './schemas'
+import {media} from 'sanity-plugin-media'
+import {colorInput} from '@sanity/color-input'
+
+export default defineConfig({
+ name: 'default',
+ title: 'Portfolio CMS',
+
+ projectId: process.env.NEXT_PUBLIC_SANITY_PROJECT_ID || '',
+ dataset: process.env.NEXT_PUBLIC_SANITY_DATASET || 'production',
+
+ plugins: [
+ deskTool(),
+ visionTool(),
+ media(),
+ colorInput()
+ ],
+
+ schema: {
+ types: schemaTypes,
+ },
+})
0 commit comments