Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update svelte CLI command #3912

Merged
merged 3 commits into from
Nov 25, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions website/docs/guides/sveltekit.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SvelteKit
m # SvelteKit
leaanthony marked this conversation as resolved.
Show resolved Hide resolved

This guide will go into:
1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
Expand All @@ -14,8 +14,8 @@ This guide will go into:
- Navigate into your newly created myapp folder.
- Delete the folder named "frontend"

##### While in the Wails project root. Use your favorite package manager and install SvelteKit as the new frontend. Follow the prompts.
- `npm create svelte@latest frontend`
##### While in the Wails project root. Use the Svelte CLI to create a SvelteKit project as the new frontend. Follow the prompts, nothing Wails specific is needed here.
- `npx sv create frontend`

##### Modify wails.json.
- Add `"wailsjsdir": "./frontend/src/lib",` Do note that this is where your Go and runtime functions will appear.
Expand Down