svelte and nx rewrite
This commit is contained in:
@@ -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',
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user