mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
chore: revert ui. prefix when using useUI composable
This commit is contained in:
@@ -11,7 +11,7 @@ export const useUI = <T>(key, $ui: Partial<T & { strategy: Strategy }>, $config?
|
||||
$ui?.strategy || (appConfig.ui?.strategy as Strategy),
|
||||
mergeWrapper ? { wrapper: $attrs?.class } : {},
|
||||
$ui || {},
|
||||
process.dev ? get(appConfig, key, {}) : {},
|
||||
process.dev ? get(appConfig.ui, key, {}) : {},
|
||||
toValue($config || {})
|
||||
))
|
||||
const attrs = computed(() => omit($attrs, ['class']))
|
||||
|
||||
Reference in New Issue
Block a user