fix(components): refactor types after @nuxt/module-builder upgrade (#3855)

This commit is contained in:
Benjamin Canac
2025-04-12 17:53:03 +02:00
committed by GitHub
parent 333b7e4c9b
commit 39c861a64b
57 changed files with 635 additions and 731 deletions

View File

@@ -1,7 +1,7 @@
import { createTV, type defaultConfig } from 'tailwind-variants'
import type { AppConfig } from '@nuxt/schema'
import _appConfig from '#build/app.config'
import appConfig from '#build/app.config'
const appConfigTv = _appConfig as AppConfig & { ui: { tv: typeof defaultConfig } }
const appConfigTv = appConfig as AppConfig & { ui: { tv: typeof defaultConfig } }
export const tv = /* @__PURE__ */ createTV(appConfigTv.ui?.tv)