From 0513ed16bb7d8a750f2932d44beb61224c6b8ffa Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 1 Nov 2024 14:16:09 +0100 Subject: [PATCH] Try first view support --- dashboard/index.html | 10 +++- dashboard/public/js/index.js | 4 +- dashboard/src/components/Index.vue | 57 ++++++++++++++++++ dashboard/src/components/SupportView.vue | 76 ++++++++++++++++++++++++ dashboard/src/index.js | 16 +++++ 5 files changed, 159 insertions(+), 4 deletions(-) create mode 100644 dashboard/src/components/Index.vue create mode 100644 dashboard/src/components/SupportView.vue create mode 100644 dashboard/src/index.js diff --git a/dashboard/index.html b/dashboard/index.html index cff163d0f..17a5c5114 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -21,7 +21,6 @@ - @@ -94,6 +93,10 @@ + + + + + + diff --git a/dashboard/src/components/SupportView.vue b/dashboard/src/components/SupportView.vue new file mode 100644 index 000000000..941f5bdf3 --- /dev/null +++ b/dashboard/src/components/SupportView.vue @@ -0,0 +1,76 @@ + + + + + diff --git a/dashboard/src/index.js b/dashboard/src/index.js new file mode 100644 index 000000000..0068e52f7 --- /dev/null +++ b/dashboard/src/index.js @@ -0,0 +1,16 @@ +import { createApp } from 'vue'; + +import './style.css'; + +import '@fontsource/noto-sans'; + +import i18n from './i18n.js'; +import Index from './components/Index.vue'; + +(async function init() { + const app = createApp(Index); + + app.use(await i18n()); + + app.mount('#vueapp'); +})();