docs(button): update

This commit is contained in:
Benjamin Canac
2024-07-10 15:23:40 +02:00
parent f16eb2310d
commit 982e12f2b8
2 changed files with 167 additions and 3 deletions

View File

@@ -117,7 +117,10 @@ export default defineNuxtConfig({
hooks: {
'components:extend': (components) => {
const globals = components.filter(c => ['UBadge'].includes(c.pascalName))
const globals = components.filter(c => [
'UBadge',
'UButton'
].includes(c.pascalName))
globals.forEach(c => c.global = 'sync')
}