From 4c8fb91ce19e1e5af7379ccc55d956e4309f0076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C3=B3=C5=82grabia?= Date: Sun, 3 Jan 2021 13:09:56 +0100 Subject: [PATCH] Initial version of vue frontend. --- frontend-angular/src/app/app.component.html | 2 +- frontend-angular/src/locale/messages.de.xlf | 2 +- frontend-vue/package-lock.json | 1028 ++++++++++++++++- frontend-vue/package.json | 8 +- frontend-vue/src/App.vue | 84 +- frontend-vue/src/components/HelloWorld.vue | 58 - frontend-vue/src/components/PersonForm.vue | 193 ++++ frontend-vue/src/locales/en.json | 21 + frontend-vue/src/locales/messages.js | 7 + frontend-vue/src/main.js | 15 +- frontend-vue/src/router/index.js | 44 +- .../src/services/RestPeopleService.js | 55 + frontend-vue/src/utils/constants.js | 6 + frontend-vue/src/utils/validators.js | 5 + frontend-vue/src/views/About.vue | 5 - frontend-vue/src/views/Home.vue | 18 - frontend-vue/src/views/NotFound.vue | 13 + frontend-vue/src/views/PeopleIndex.vue | 58 + frontend-vue/src/views/PersonAdd.vue | 16 + frontend-vue/src/views/PersonEdit.vue | 23 + frontend-vue/vue.config.js | 15 + 21 files changed, 1534 insertions(+), 142 deletions(-) delete mode 100644 frontend-vue/src/components/HelloWorld.vue create mode 100644 frontend-vue/src/components/PersonForm.vue create mode 100644 frontend-vue/src/locales/en.json create mode 100644 frontend-vue/src/locales/messages.js create mode 100644 frontend-vue/src/services/RestPeopleService.js create mode 100644 frontend-vue/src/utils/constants.js create mode 100644 frontend-vue/src/utils/validators.js delete mode 100644 frontend-vue/src/views/About.vue delete mode 100644 frontend-vue/src/views/Home.vue create mode 100644 frontend-vue/src/views/NotFound.vue create mode 100644 frontend-vue/src/views/PeopleIndex.vue create mode 100644 frontend-vue/src/views/PersonAdd.vue create mode 100644 frontend-vue/src/views/PersonEdit.vue create mode 100644 frontend-vue/vue.config.js diff --git a/frontend-angular/src/app/app.component.html b/frontend-angular/src/app/app.component.html index 35fca63..3abb1a6 100644 --- a/frontend-angular/src/app/app.component.html +++ b/frontend-angular/src/app/app.component.html @@ -16,7 +16,7 @@