mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
BaseUrl removed from moutend hook. Ssr fix
This commit is contained in:
parent
ef35d1f120
commit
9bdcd26831
25 changed files with 26 additions and 65 deletions
|
@ -125,7 +125,7 @@ export default {
|
|||
numScroll: 1
|
||||
}
|
||||
],
|
||||
baseUrl: '/'
|
||||
baseUrl: process.dev ? '/' : '/primevue-nuxt/'
|
||||
};
|
||||
},
|
||||
productService: null,
|
||||
|
@ -134,8 +134,6 @@ export default {
|
|||
},
|
||||
mounted() {
|
||||
this.productService.getProductsSmall().then((data) => (this.products = data.slice(0, 9)));
|
||||
|
||||
this.baseUrl = process.dev ? '/' : '/primevue-nuxt/';
|
||||
},
|
||||
components: {
|
||||
CarouselDoc: CarouselDoc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue