主界面修改及代理模块初始化
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import type { ModuleConfig } from '@/types/module'
|
||||
import type { SearchIndexItem } from '@/stores/searchIndex'
|
||||
|
||||
const searchItems: SearchIndexItem[] = [
|
||||
{
|
||||
title: '剪贴板历史',
|
||||
description: '查看和管理剪贴板记录',
|
||||
keywords: ['剪贴板', '复制', '粘贴', 'clipboard', 'copy', 'paste']
|
||||
}
|
||||
]
|
||||
|
||||
export const moduleConfig: ModuleConfig = {
|
||||
id: 'clipboard',
|
||||
name: '剪贴板',
|
||||
icon: 'clipboard',
|
||||
description: '剪贴板历史记录、搜索与多格式预览',
|
||||
category: 'tool',
|
||||
defaultEnabled: true,
|
||||
loader: () => import('./ClipboardModule.vue'),
|
||||
searchItems,
|
||||
order: 20
|
||||
}
|
||||
Reference in New Issue
Block a user