svelte and nx rewrite

This commit is contained in:
2025-08-03 18:24:31 +02:00
parent e0a743056f
commit cb47cbc620
85 changed files with 1769 additions and 5202 deletions

View File

@@ -39,15 +39,17 @@ export default defineConfig({
.child(S.document().schemaType('settings').documentId('settings').title('Settings')),
]),
}),
// @ts-ignore
linkField({
linkableSchemaTypes: ['custom'],
}),
presentationTool({
previewUrl: {
origin: sanityConnection.previewUrl ?? 'http://localhost:3000',
origin: sanityConnection.previewUrl ?? 'http://localhost:5173',
preview: '/',
previewMode: {
enable: '/api/draft-mode/enable',
enable: '/preview/enable',
disable: '/preview/disable',
},
},
}),