diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/wails.tmpl.json b/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/wails.tmpl.json index b8d08108..5bf6b2a9 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/wails.tmpl.json +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/wails.tmpl.json @@ -4,6 +4,7 @@ "assetdir": "frontend/dist", "frontend:install": "npm install", "frontend:build": "npm run build", + "wailsjsdir": "./frontend", "author": { "name": "{{.AuthorName}}", "email": "{{.AuthorEmail}}" diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/wails.tmpl.json b/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/wails.tmpl.json index 0f6a2310..a4f2bc2d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/wails.tmpl.json +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/wails.tmpl.json @@ -2,6 +2,7 @@ "name": "{{.ProjectName}}", "outputfilename": "{{.BinaryName}}", "assetdir": "frontend/src", + "wailsjsdir": "./frontend", "author": { "name": "{{.AuthorName}}", "email": "{{.AuthorEmail}}"