Theme images fixed for ssr issue

pull/3449/head
Bahadır Sofuoğlu 2022-12-27 09:43:52 +03:00
parent d83b087d14
commit 0fbdde8ac9
2 changed files with 2 additions and 5 deletions

View File

@ -80,7 +80,7 @@ export default {
filteredRoutes: null,
selectedRoute: null,
routes: [],
baseUrl: '/'
baseUrl: process.dev ? '/' : '/primevue-nuxt/'
};
},
mounted() {
@ -97,8 +97,6 @@ export default {
this.routes.push(childRoute);
});
this.baseUrl = process.dev ? '/' : '/primevue-nuxt/';
},
methods: {
toggleSubmenu(event, name) {

View File

@ -300,7 +300,7 @@ export default {
'lara-light-teal': 'lara-light-teal.png',
'lara-light-blue': 'lara-light-blue.png'
},
baseUrl: '/'
baseUrl: process.dev ? '/' : '/primevue-nuxt/'
};
},
watch: {
@ -312,7 +312,6 @@ export default {
container: null,
mounted() {
this.bindScrollListener();
this.baseUrl = process.dev ? '/' : '/primevue-nuxt/';
},
beforeUnmount() {
if (this.scrollListener) {