mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 00:09:56 +08:00
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 <lea.anthony@gmail.com>
This commit is contained in:
parent
e5be3c5cfe
commit
93b49391c7
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user