mirror of
https://github.com/sharevb/it-tools.git
synced 2026-12-03 18:10:44 +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
24 lines
600 B
TypeScript
24 lines
600 B
TypeScript
import { PasswordRound } from '@vicons/material';
|
|
import { defineTool } from '../tool';
|
|
import { translate } from '@/plugins/i18n.plugin';
|
|
|
|
export const tool = defineTool({
|
|
name: translate('tools.basic-auth-generator.title'),
|
|
path: '/basic-auth-generator',
|
|
description: translate('tools.basic-auth-generator.description'),
|
|
keywords: [
|
|
'basic',
|
|
'auth',
|
|
'generator',
|
|
'username',
|
|
'password',
|
|
'base64',
|
|
'authentication',
|
|
'header',
|
|
'authorization',
|
|
],
|
|
component: () => import('./basic-auth-generator.vue'),
|
|
icon: PasswordRound,
|
|
category: 'Network',
|
|
});
|