From 456c69eba067a66eefc7bc8346b7031e48a28882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 21 Dec 2022 16:48:44 +0300 Subject: [PATCH] baseUrl added --- pages/carousel/index.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/carousel/index.vue b/pages/carousel/index.vue index 43c5b30f5..46d17fd8c 100755 --- a/pages/carousel/index.vue +++ b/pages/carousel/index.vue @@ -23,7 +23,7 @@
- +

{{ slotProps.data.name }}

@@ -50,7 +50,7 @@
- +

{{ slotProps.data.name }}

@@ -77,7 +77,7 @@
- +

{{ slotProps.data.name }}

@@ -124,7 +124,8 @@ export default { numVisible: 1, numScroll: 1 } - ] + ], + baseUrl: '/' }; }, productService: null, @@ -133,6 +134,8 @@ export default { }, mounted() { this.productService.getProductsSmall().then((data) => (this.products = data.slice(0, 9))); + + this.baseUrl = process.dev ? '/' : '/primevue-nuxt/'; }, components: { CarouselDoc: CarouselDoc