BaseUrl removed from moutend hook. Ssr fix

This commit is contained in:
Bahadır Sofuoğlu 2022-12-27 10:23:26 +03:00
parent ef35d1f120
commit 9bdcd26831
25 changed files with 26 additions and 65 deletions

View file

@ -169,7 +169,7 @@ export default {
{ name: 'XuXue Feng', image: 'xuxuefeng.png' }
],
statuses: ['unqualified', 'qualified', 'new', 'negotiation', 'renewal', 'proposal'],
baseUrl: '/'
baseUrl: process.dev ? '/' : '/primevue-nuxt/'
};
},
created() {
@ -181,8 +181,6 @@ export default {
this.customers.forEach((customer) => (customer.date = new Date(customer.date)));
this.loading = false;
});
this.baseUrl = process.dev ? '/' : '/primevue-nuxt/';
},
methods: {
formatDate(value) {