From 528dec9c50659ecb8aa62c09fd36806faa044149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 7 Apr 2022 16:14:29 +0200 Subject: [PATCH] Web: allow setting title of webapp Moving `static/*` to `public/*` actually made Vue pick up our `index.html`, and allow us to set the app title. --- web/app/{static => public}/favicon.ico | Bin web/app/{static => public}/index.html | 2 +- web/app/vue.config.js | 12 ++++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) rename web/app/{static => public}/favicon.ico (100%) rename web/app/{static => public}/index.html (96%) create mode 100644 web/app/vue.config.js diff --git a/web/app/static/favicon.ico b/web/app/public/favicon.ico similarity index 100% rename from web/app/static/favicon.ico rename to web/app/public/favicon.ico diff --git a/web/app/static/index.html b/web/app/public/index.html similarity index 96% rename from web/app/static/index.html rename to web/app/public/index.html index 3e5a1396..afea9378 100644 --- a/web/app/static/index.html +++ b/web/app/public/index.html @@ -1,5 +1,5 @@ - + diff --git a/web/app/vue.config.js b/web/app/vue.config.js new file mode 100644 index 00000000..c450d8fe --- /dev/null +++ b/web/app/vue.config.js @@ -0,0 +1,12 @@ + +/** + * @type {import('@vue/cli-service').ProjectOptions} + */ +module.exports = { + pages: { + index: { + entry: 'src/main.js', + title: 'Flamenco', + }, + } +}