From 2c0c67cd646671e022f5267e893419f81e226dd7 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Tue, 30 Nov 2021 15:26:40 +0100 Subject: [PATCH] - add further views - also use constants via Webpack DefinePlugin --- .env | 3 +- src/App.vue | 4 +- src/app.ts | 4 + src/assets/scss/main-styles.scss | 132 ++++-------------- src/constants.ts | 11 ++ src/router/index.ts | 6 + .../contact-view/contact-view-component.scss | 11 ++ .../contact-view/contact-view-component.ts | 12 ++ .../contact-view/contact-view-component.vue | 43 ++++++ src/views/home-view/home-view-component.vue | 10 +- vue.config.js | 23 ++- 11 files changed, 144 insertions(+), 115 deletions(-) create mode 100644 src/constants.ts create mode 100644 src/views/contact-view/contact-view-component.scss create mode 100644 src/views/contact-view/contact-view-component.ts create mode 100644 src/views/contact-view/contact-view-component.vue diff --git a/.env b/.env index 15e2b5e..18ad7c9 100644 --- a/.env +++ b/.env @@ -1,4 +1,5 @@ #NODE_ENV=production NODE_ENV=development -CONSTANT_VALUE=1234567 \ No newline at end of file +CONSTANT_VALUE=1234567 +VUE_APP_PORTAL=//repository.geologie.ac.at/portal/login \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 8c00703..c73617f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,7 +9,7 @@ /> -->