chore: improve composables imports

This commit is contained in:
Benjamin Canac
2025-02-28 15:52:26 +01:00
parent 3a24cc0c8e
commit c98c9037ed
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ You also have the option to add your locale using `defineLocale`:
```vue [App.vue]
<script setup lang="ts">
import { defineLocale } from '@nuxt/ui/runtime/composables/defineLocale'
import { defineLocale } from '@nuxt/ui/composables/defineLocale'
const locale = defineLocale({
name: 'My custom locale',

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import theme from '#build/ui/kbd'
import { kbdKeysMap } from '@nuxt/ui/runtime/composables/useKbd.js'
import { kbdKeysMap } from '@nuxt/ui/composables/useKbd.js'
const sizes = Object.keys(theme.variants.size) as Array<keyof typeof theme.variants.size>