mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-25 17:26:15 -04:00
feat: component base
This commit is contained in:
parent
02dafd6a2f
commit
6e0c369398
17 changed files with 1482 additions and 1006 deletions
10
types/ToolConfig.ts
Normal file
10
types/ToolConfig.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
interface ToolConfig {
|
||||
title: string;
|
||||
description: string;
|
||||
icon: string;
|
||||
keywords: string[];
|
||||
}
|
||||
|
||||
type ToolConfigMethod = () => ToolConfig;
|
||||
|
||||
export {ToolConfig, ToolConfigMethod}
|
6
types/custom.d.ts
vendored
Normal file
6
types/custom.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
declare module '*.svg?inline' {
|
||||
import { Component } from 'vue'
|
||||
|
||||
const content: Component
|
||||
export default content
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue