mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-15 09:14:08 +00:00
Phase 5-6: Router, plugins, entry points — scripts-v2 complete
13 files completing the TypeScript migration: - router/ (3 files): typed guards, route meta augmentation, merged feature routes from all 16 modules - plugins/ (4 files): i18n with dynamic locale loading, pinia, tooltip directive - Entry points: main.ts, InvoiceShelf.ts bootstrap class, App.vue, global-components.ts with typed registration - NoCompanyView and NotFoundView stubs scripts-v2/ totals: 324 files, 42853 lines of strict TypeScript. Zero any types. Complete feature-based architecture with typed stores, API services, composables, and Vue components. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
9
resources/scripts-v2/plugins/tooltip.ts
Normal file
9
resources/scripts-v2/plugins/tooltip.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { VTooltip } from 'v-tooltip'
|
||||
import type { App, Directive } from 'vue'
|
||||
|
||||
/**
|
||||
* Install the v-tooltip directive on the given Vue app instance.
|
||||
*/
|
||||
export function installTooltipDirective(app: App): void {
|
||||
app.directive('tooltip', VTooltip as Directive)
|
||||
}
|
||||
Reference in New Issue
Block a user