aboutsummaryrefslogtreecommitdiff
path: root/src/tools/json-viewer/index.ts
blob: bc48824558d54a250f121a57947fab1276cfb9a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'],
});