-
-
Notifications
You must be signed in to change notification settings - Fork 536
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Reproduction
https://stackblitz.com/edit/fs6dskim?file=src%2FApp.vue
Describe the bug
Fresh scaffolds of the sheet component don't contain a default value for the optional class prop. I get this error from eslint-vue: Prop 'class' requires default value to be set
and the page fails to build and throws:
[@vue/compiler-sfc] Failed to resolve extends base type. If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example: interface Props extends /* @vue-ignore */ Base {} Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime. /home/x4d6165/Projects/lionsmane/lionsmane-fe/app/components/ui/sheet/SheetContent.vue 13 | import SheetOverlay from './SheetOverlay.vue'; 14 | 15 | interface SheetContentProps extends DialogContentProps { | ^^^^^^^^^^^^^^^^^^ 16 | class?: HTMLAttributes['class']; 17 | side?: 'top' | 'right' | 'bottom' | 'left';
System Info
System:
OS: Linux 6.16 Fedora Linux 42 (KDE Plasma Desktop Edition)
CPU: (12) x64 13th Gen Intel(R) Core(TM) i7-1365U
Memory: 16.34 GB / 30.99 GB
Container: Yes
Shell: 5.2.37 - /bin/bash
Binaries:
Node: 22.18.0 - /usr/bin/node
npm: 10.9.3 - /usr/bin/npm
pnpm: 10.9.0 - /usr/bin/pnpm
bun: 1.2.21 - ~/.bun/bin/bun
npmPackages:
@vueuse/core: ^13.9.0 => 13.9.0
nuxt: ^4.1.0 => 4.1.0
reka-ui: ^2.5.0 => 2.5.0
shadcn-nuxt: 2.1.0 => 2.1.0
vue: ^3.5.21 => 3.5.21
Contributes
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working