mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 06:55:06 -04:00
feat(tools): new badge for recently created tools
This commit is contained in:
parent
ac89490794
commit
11720e6cde
33 changed files with 320 additions and 100 deletions
|
@ -39,16 +39,16 @@ createToolFile(
|
|||
|
||||
<style lang="less" scoped>
|
||||
</style>
|
||||
`
|
||||
`,
|
||||
);
|
||||
|
||||
createToolFile(
|
||||
`index.ts`,
|
||||
`
|
||||
import { ArrowsShuffle } from '@vicons/tabler';
|
||||
import type { ITool } from './../Tool';
|
||||
import { defineTool } from '../tool';
|
||||
|
||||
export const tool: ITool = {
|
||||
export const tool = defineTool({
|
||||
name: '${toolNameTitleCase}',
|
||||
path: '/${toolName}',
|
||||
description: '',
|
||||
|
@ -56,7 +56,7 @@ export const tool: ITool = {
|
|||
component: () => import('./${toolName}.vue'),
|
||||
icon: ArrowsShuffle,
|
||||
};
|
||||
`
|
||||
`,
|
||||
);
|
||||
|
||||
createToolFile(`${toolName}.service.ts`, ``);
|
||||
|
@ -69,7 +69,7 @@ import { expect, describe, it } from 'vitest';
|
|||
// describe('${toolName}', () => {
|
||||
//
|
||||
// })
|
||||
`
|
||||
`,
|
||||
);
|
||||
|
||||
const toolsIndex = join(toolsDir, 'index.ts');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue