mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue