Relative Content

Tag Archive for vue.jsvuejs3

Is it bad practice to use a computed property inside another computed in Vue 3?

I’ve been working on a Vue 3 project where I have a large number of records (up to a million) that require various computed properties. To optimize performance, I’ve started defining computed properties inside another computed property. This approach seems to work fine in my testing, and it appears to save memory because the inner computed properties are only created when the outer computed is invoked.

How to render new navigation based on admin/client Vue.js

I m currently working on a e-commerce website and i started to make the admin pages (dashboard , CRM , Products etc). I have a navigation set for the main page ( e.g. Home , About us , Shop , Profile etc) and i need to have a separate navigation showed only for the admin pages or for the all admin endpoints. How to do that ?

mutation loading not reacting to changes

I have a logout mutation and I want to show loading spinner when the logout is being carried out but I don’t see the spinner when the mutation is in progress.