Skip to content

Commit 8935551

Browse files
Remove layout import section from Wagmi implementation
- Address GitHub comment from rohit-710 questioning necessity of layout import - Remove src/routes/+layout.svelte example with import '/appkit' - Keep core AppKit initialization code intact - Focus implementation documentation on essential setup only Co-Authored-By: rohit@reown.com <rrohitramesh710@gmail.com>
1 parent 2685ee1 commit 8935551

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

snippets/appkit/svelte/wagmi/about/implementation.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,3 @@ export { appKit }
5151
<Note>
5252
The `browser` check ensures AppKit is only initialized in the browser environment, which is important for SvelteKit's SSR compatibility.
5353
</Note>
54-
55-
Then import this configuration in your app layout to ensure AppKit is initialized:
56-
57-
```svelte
58-
<!-- src/routes/+layout.svelte -->
59-
<script>
60-
import '$lib/appkit';
61-
</script>
62-
63-
<slot />
64-
```

0 commit comments

Comments
 (0)