From fb15bf1ca1cd544743addae23deb62521f37ed22 Mon Sep 17 00:00:00 2001 From: Jason Wheeler Date: Fri, 28 Oct 2022 14:31:45 -0400 Subject: [PATCH] Created make-question and finished vehicle-make template --- src/constants/endpoints.js | 4 ++ .../make-question/make-question.vue | 59 +++++++++++++++++++ src/layouts/vehicle-make/vehicle-make.vue | 39 ++++-------- .../year-question/year-question.vue | 2 + .../router-constants/navigation-scenarios.js | 2 +- src/router/router-constants/routing-table.js | 20 ++++++- src/store/index.js | 15 +++++ 7 files changed, 112 insertions(+), 29 deletions(-) create mode 100644 src/layouts/vehicle-make/make-question/make-question.vue diff --git a/src/constants/endpoints.js b/src/constants/endpoints.js index 2aeaf26a..89e1f1fc 100644 --- a/src/constants/endpoints.js +++ b/src/constants/endpoints.js @@ -15,6 +15,10 @@ const endpoints = { url: "/vehicle/api/v1/vehicle/years", method: "GET", }, + GetVehicleMakes: { + url: "/vehicle/api/v1/vehicle/makes/", + method: "GET", + }, }; export { endpoints }; diff --git a/src/layouts/vehicle-make/make-question/make-question.vue b/src/layouts/vehicle-make/make-question/make-question.vue new file mode 100644 index 00000000..f99f5d45 --- /dev/null +++ b/src/layouts/vehicle-make/make-question/make-question.vue @@ -0,0 +1,59 @@ + + + + \ No newline at end of file diff --git a/src/layouts/vehicle-make/vehicle-make.vue b/src/layouts/vehicle-make/vehicle-make.vue index 8b1785e1..3d4ca8b5 100644 --- a/src/layouts/vehicle-make/vehicle-make.vue +++ b/src/layouts/vehicle-make/vehicle-make.vue @@ -6,11 +6,11 @@
-
@@ -20,7 +20,7 @@