mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-18 22:11:43 +01:00
fix(components): prevent multiple appConfig identifier import (#3186)
This commit is contained in:
@@ -2,6 +2,6 @@ import { createTV, type defaultConfig } from 'tailwind-variants'
|
||||
import type { AppConfig } from '@nuxt/schema'
|
||||
import _appConfig from '#build/app.config'
|
||||
|
||||
const appConfig = _appConfig as AppConfig & { ui: { tv: typeof defaultConfig } }
|
||||
const appConfigTv = _appConfig as AppConfig & { ui: { tv: typeof defaultConfig } }
|
||||
|
||||
export const tv = createTV(appConfig.ui?.tv)
|
||||
export const tv = createTV(appConfigTv.ui?.tv)
|
||||
|
||||
Reference in New Issue
Block a user