fix: resolve TypeScript compilation errors for build
- Added pinia dependency (was missing from package.json) - Relocated useMeta.ts from incorrect nested path to correct location - Renamed route-meta.d.ts to route-meta.ts for module augmentation + exports - Fixed RouteMeta imports to use vue-router (augmented interface) - Added isMetaFunction type guard for callable type narrowing - Simplified OG/twitter tags to static strings (crawlers don't send locale headers) - Exported MetaConfig from useI18nMeta.ts - Added robots property to I18nMetaConfig - Fixed union type property access in drupal-meta.ts with Array.isArray guard - Fixed definePage import source (unplugin-vue-router/runtime) - Removed Twitter-specific meta tags (fall back to OG)
This commit is contained in:
parent
90c7e0cddb
commit
661cfc8f2e
10 changed files with 212 additions and 132 deletions
|
|
@ -17,6 +17,7 @@
|
|||
"arktype": "^2.1.29",
|
||||
"axios": "^1.11.0",
|
||||
"bulma": "^1.0.4",
|
||||
"pinia": "^3.0.4",
|
||||
"tailwindcss": "^4.1.6",
|
||||
"vue-i18n": "^11.1.3",
|
||||
"vue-router": "^5.0.4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue