mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-25 15:15:23 +03:00
feat: script:create:tool command supports specifying tool categories: pnpm script:create:tool [tool-name] [category-name] feat: A locales folder can be created independently under each tool to support independent configuration of the tool's own internationalization, making developers more focused and reducing file modification conflicts perf: Optimize the script:create:tool command to create generated files, reduce the chance of public file modification conflicts, and allow developers to focus more on developing their own perf: Improve the category field in defineTool for existing tools
29 lines
604 B
TypeScript
29 lines
604 B
TypeScript
import { Keyboard } from '@vicons/tabler';
|
|
import { defineTool } from '../tool';
|
|
import { translate } from '@/plugins/i18n.plugin';
|
|
|
|
export const tool = defineTool({
|
|
name: translate('tools.keycode-info.title'),
|
|
path: '/keycode-info',
|
|
description: translate('tools.keycode-info.description'),
|
|
keywords: [
|
|
'keycode',
|
|
'info',
|
|
'code',
|
|
'javascript',
|
|
'event',
|
|
'keycodes',
|
|
'which',
|
|
'keyboard',
|
|
'press',
|
|
'modifier',
|
|
'alt',
|
|
'ctrl',
|
|
'meta',
|
|
'shift',
|
|
],
|
|
component: () => import('./keycode-info.vue'),
|
|
icon: Keyboard,
|
|
category: 'Forensic',
|
|
});
|