refactor(front): extract shared utils and rewire pages
This commit is contained in:
14
app/types/icons.d.ts
vendored
Normal file
14
app/types/icons.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// Type declarations for unplugin-icons
|
||||
// This allows TypeScript to understand icon imports from ~icons/*
|
||||
|
||||
declare module '~icons/*' {
|
||||
import type { FunctionalComponent, SVGAttributes } from 'vue'
|
||||
const component: FunctionalComponent<SVGAttributes>
|
||||
export default component
|
||||
}
|
||||
|
||||
declare module '~icons/lucide/*' {
|
||||
import type { FunctionalComponent, SVGAttributes } from 'vue'
|
||||
const component: FunctionalComponent<SVGAttributes>
|
||||
export default component
|
||||
}
|
||||
Reference in New Issue
Block a user