dify/web/app/(commonLayout)/plugins/page.tsx
2024-11-19 16:43:13 +08:00

21 lines
538 B
TypeScript

import PluginPage from '@/app/components/plugins/plugin-page'
import PluginsPanel from '@/app/components/plugins/plugin-page/plugins-panel'
import Marketplace from '@/app/components/plugins/marketplace'
import { getLocaleOnServer } from '@/i18n/server'
const PluginList = async () => {
const locale = await getLocaleOnServer()
return (
<PluginPage
plugins={<PluginsPanel />}
marketplace={<Marketplace locale={locale} />}
/>
)
}
export const metadata = {
title: 'Plugins - Dify',
}
export default PluginList