Skip to main content
Glama
EditorSelectorRenderer.vue899 B
<script setup lang="ts"> import type { NodeProps } from '@intlayer/core'; import type { HTMLAttributes } from 'vue'; import ContentSelectorWrapper from './ContentSelectorWrapper.vue'; import EditedContentRenderer from './EditedContentRenderer.vue'; /** * Combine your NodeProps (which include dictionaryKey & keyPath) * with any other div‐like attributes (omitting Vue's `children`). */ type Props = NodeProps & /* @vue-ignore */ Omit<HTMLAttributes, 'children'>; const props = defineProps<Props>(); const { keyPath, children, dictionaryKey } = props; </script> <template> <ContentSelectorWrapper :dictionaryKey="dictionaryKey" :keyPath="keyPath" :children="children" > <EditedContentRenderer :dictionaryKey="dictionaryKey" :keyPath="keyPath" :children="children" > <slot /> </EditedContentRenderer> </ContentSelectorWrapper> </template>

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aymericzip/intlayer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server