From 06df25c7cc94c7f4be5ed0bc424cdb199199f565 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 27 Dec 2022 23:54:26 +0300 Subject: [PATCH] Removed code duplication and get baseURL from nuxt runtime --- layouts/AppMenu.vue | 5 +- layouts/AppTopBar.vue | 85 ++++++++++++++++----------------- nuxt.config.js | 7 ++- pages/avatar/index.vue | 23 ++++----- pages/carousel/index.vue | 9 ++-- pages/chip/index.vue | 17 +++---- pages/datatable/Crud.vue | 5 +- pages/datatable/Filter.vue | 11 ++--- pages/datatable/RowExpand.vue | 5 +- pages/datatable/RowGroup.vue | 9 ++-- pages/datatable/Scroll.vue | 5 +- pages/datatable/State.vue | 11 ++--- pages/datatable/Templating.vue | 5 +- pages/datatable/index.vue | 7 ++- pages/galleria/Advanced.vue | 7 ++- pages/galleria/AutoPlay.vue | 7 ++- pages/galleria/Caption.vue | 7 ++- pages/galleria/FullScreen.vue | 17 ++++--- pages/galleria/Indicator.vue | 17 ++++--- pages/galleria/Navigator.vue | 19 ++++---- pages/galleria/Programmatic.vue | 7 ++- pages/galleria/Responsive.vue | 7 ++- pages/galleria/Thumbnail.vue | 19 ++++---- pages/galleria/index.vue | 7 ++- pages/image/index.vue | 10 +--- pages/landing/FooterSection.vue | 10 +--- pages/landing/HeaderSection.vue | 5 +- public/demo/data/photos.json | 60 +++++++++++------------ service/CountryService.js | 6 +-- service/CustomerService.js | 15 +++--- service/EventService.js | 6 +-- service/NodeService.js | 11 +++-- service/PhotoService.js | 6 +-- service/ProductService.js | 12 +++-- 34 files changed, 215 insertions(+), 244 deletions(-) diff --git a/layouts/AppMenu.vue b/layouts/AppMenu.vue index bb7d50116..f51e9f21a 100755 --- a/layouts/AppMenu.vue +++ b/layouts/AppMenu.vue @@ -1,7 +1,7 @@