From c1d63aff34419d1f3e44a4e1bf3aae4c6259c53f Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 18 Apr 2021 07:25:02 +1000 Subject: [PATCH] Refactor vanilla template to work with `wails dev` out of the box --- .../templates/templates/vanilla/frontend/{ => src}/index.html | 0 .../templates/templates/vanilla/frontend/{ => src}/main.css | 0 .../templates/templates/vanilla/frontend/{ => src}/main.js | 0 v2/internal/templates/templates/vanilla/wails.tmpl.json | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename v2/internal/templates/templates/vanilla/frontend/{ => src}/index.html (100%) rename v2/internal/templates/templates/vanilla/frontend/{ => src}/main.css (100%) rename v2/internal/templates/templates/vanilla/frontend/{ => src}/main.js (100%) diff --git a/v2/internal/templates/templates/vanilla/frontend/index.html b/v2/internal/templates/templates/vanilla/frontend/src/index.html similarity index 100% rename from v2/internal/templates/templates/vanilla/frontend/index.html rename to v2/internal/templates/templates/vanilla/frontend/src/index.html diff --git a/v2/internal/templates/templates/vanilla/frontend/main.css b/v2/internal/templates/templates/vanilla/frontend/src/main.css similarity index 100% rename from v2/internal/templates/templates/vanilla/frontend/main.css rename to v2/internal/templates/templates/vanilla/frontend/src/main.css diff --git a/v2/internal/templates/templates/vanilla/frontend/main.js b/v2/internal/templates/templates/vanilla/frontend/src/main.js similarity index 100% rename from v2/internal/templates/templates/vanilla/frontend/main.js rename to v2/internal/templates/templates/vanilla/frontend/src/main.js diff --git a/v2/internal/templates/templates/vanilla/wails.tmpl.json b/v2/internal/templates/templates/vanilla/wails.tmpl.json index 1cf6df05..b8e6e7d9 100644 --- a/v2/internal/templates/templates/vanilla/wails.tmpl.json +++ b/v2/internal/templates/templates/vanilla/wails.tmpl.json @@ -1,7 +1,7 @@ { "name": "{{.ProjectName}}", "outputfilename": "{{.BinaryName}}", - "html": "frontend/index.html", + "html": "frontend/src/index.html", "author": { "name": "{{.AuthorName}}", "email": "{{.AuthorEmail}}"