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
|
@ -55,15 +55,11 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
menuActive: false,
|
||||
baseUrl: '/'
|
||||
baseUrl: process.dev ? '/' : '/primevue-nuxt/'
|
||||
};
|
||||
},
|
||||
scrollListener: null,
|
||||
container: null,
|
||||
mounted() {
|
||||
this.bindScrollListener();
|
||||
this.baseUrl = process.dev ? '/' : '/primevue-nuxt/';
|
||||
},
|
||||
beforeUnmount() {
|
||||
if (this.scrollListener) {
|
||||
this.unbindScrollListener();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue