it-tools/src/tools/json-viewer/index.ts

14 lines
455 B
TypeScript
Raw Normal View History

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