Nope.
Unwrap it:
<script>
...
const { Item } = SomeListComponent
</script>
<SomeListComponent>
<Item />
</SomeListComponent>
Note, also, that the component name must be capitalized (<Item />
, not <item />
-- or Svelte would consider it's a DOM element).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…