Skip to content

Commit 2e6474a

Browse files
authored
docs: Add note to Sonner component (#1234)
1 parent 871d72d commit 2e6474a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sites/docs/src/content/components/sonner.md

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ npx shadcn-svelte@latest add sonner
4545
Add the Toaster component
4646
</Step>
4747

48+
Note: Make sure you are adding the import from the path `"$lib/components/ui/sonner"` not `"svelte-sonner"`.
49+
4850
```svelte title="+layout.svelte" {2,5}
4951
<script lang="ts">
5052
import { Toaster } from "$lib/components/ui/sonner";

0 commit comments

Comments
 (0)