FIX: fix bugs caused by upgrade

Remove with defaults as it is no longer needed, props is removed
This commit is contained in:
webfussel 2025-01-29 09:28:12 +01:00
parent c82262e02d
commit cbe1f89ec6
3 changed files with 3276 additions and 2925 deletions

View file

@ -13,14 +13,16 @@ type Props = {
}
const {
type = 'a'
type = 'a',
href,
label,
} = defineProps<Props>()
const actualProps = () => {
if (props.type === 'a') {
if (type === 'a') {
return {
href: props.href,
target: props.href!.startsWith('https://') ? '_blank' : undefined,
href: href,
target: href!.startsWith('https://') ? '_blank' : undefined,
}
}
}

6189
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -14,7 +14,7 @@
"build:deploy": "nuxt build && firebase deploy --only hosting"
},
"devDependencies": {
"nuxt": "^3.11.2",
"nuxt": "^3.15.3",
"postcss-nesting": "^13.0.0"
},
"dependencies": {