Theme images fixed for ssr issue
parent
d83b087d14
commit
0fbdde8ac9
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue