mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 23:11:43 +01:00
fix(components): refactor types after @nuxt/module-builder upgrade (#3855)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user