From 93b49391c767ac172498bf71e2764f8eaae4180e Mon Sep 17 00:00:00 2001 From: Perny <83672513+pernydev@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:13:55 +0200 Subject: [PATCH] chore: update svelte CLI command (#3912) * chore: update svelte CLI command * chore: specify folder location for svelte project creation command * Update website/docs/guides/sveltekit.mdx --------- Co-authored-by: Lea Anthony --- website/docs/guides/sveltekit.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/guides/sveltekit.mdx b/website/docs/guides/sveltekit.mdx index 333138f78..afb67f630 100644 --- a/website/docs/guides/sveltekit.mdx +++ b/website/docs/guides/sveltekit.mdx @@ -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.