refactor(tool): better new tool logic

This commit is contained in:
Corentin Thomasset 2023-04-05 23:30:44 +02:00
parent 20282987e3
commit fb8a3a0fee
No known key found for this signature in database
GPG key ID: DBD997E935996158
3 changed files with 7 additions and 1 deletions

View file

@ -55,6 +55,7 @@ export const tool = defineTool({
keywords: ['${toolName.split('-').join("', '")}'],
component: () => import('./${toolName}.vue'),
icon: ArrowsShuffle,
createdAt: new Date('${new Date().toISOString().split('T')[0]}'),
});
`,
);