mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore: improve composables imports
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user