it-tools/src/tools/json-viewer/index.ts
2024-02-01 14:05:54 +01:00

13 lines
455 B
TypeScript

import { Braces } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: translate('tools.json-prettify.title'),
path: '/json-prettify',
description: translate('tools.json-prettify.description'),
keywords: ['json', 'viewer', 'prettify', 'format'],
component: () => import('./json-viewer.vue'),
icon: Braces,
redirectFrom: ['/json-viewer'],
});