Unable to use attachments due to "Attribute shorthand cannot be empty" #16087
Answered
by
webJose
AlphabetsAlphabets
asked this question in
Q&A
-
I've taken an example directly from the documentation (https://svelte.dev/docs/svelte/@attach) and I still don't get the error. I've searched on stack overflow and it got me literally zero results.
This is the error I got:
Clicking the link doesn't do anything useful. Any help is appreciated, thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
webJose
Jun 5, 2025
Replies: 1 comment 5 replies
-
I copied and pasted the code you're presenting in a REPL and has no such error. You'll have to present minimal code that reproduces this. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is possible. I use VS Code and I sometimes have to restart the extensions to get rid of errors I know shouldn't exist. Maybe it has to do with your editor's extension, and not your code. Good point.