You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building a svelte component library that utilizes dot notation for component composition. I have dot notation working as it should but when I type a . instead of showing only the possible child components it acts like I just typed a < and started a new tag. I have the following component:
When I type <Button. I would like autocomplete/intellisense to show me Icon, Leading, or Trailing but instead it is showing me all available components.
Reproduction
Create a SvelteKit Project
npm create svelte@latest my-app
cd my-app
npm install
Describe the bug
I am building a svelte component library that utilizes dot notation for component composition. I have dot notation working as it should but when I type a . instead of showing only the possible child components it acts like I just typed a < and started a new tag. I have the following component:
When I type <Button. I would like autocomplete/intellisense to show me Icon, Leading, or Trailing but instead it is showing me all available components.
Reproduction
Create a SvelteKit Project
Install STWUI
Install TailwindCSS
Modily `tailwind.config.cjs
import { Button } from "stwui"
<Button.
Expected behaviour
The expected behavior is that only the child components
Leading
,Trailing
, andIcon
would be listed or at least at the top of the list.System Info
Which package is the issue about?
No response
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: