I’m looking for performance metrics for a Vue app. Metrics regarding the whole app but also for some specific components. I know that I can use Vue.config.performance = true; and then run the performance dev tools and maybe I could use something like Performance Observer in order to do specific things on new performance events. I was wondering, if there
Tag: vue.js
How to remove ıtem on localStorage? [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I want to removeItem on localstorage but ı dont use localstorage.removeItem().Because ı want to delete a index in array(Sepet=array) How can ı do it ?
How do I put the bordered text underneath the nav-menu text?
I did a round bordered text right next to the nav-menu. I having issues on how will I put the text underneath the texts. Refer to the image below. I wanted to put the coming soon texts underneath the COMPANY and CONTACT menu (I don’t mean doing a sub-menu) Below are the code I did for doing this. Is it
Why when i generate an Error i am getting an String Error?
i am getting several error, that is ok, when the user reject, when the transaction was bad, and so on but now i want to show differents message by their code error in my service of my project i am getting this error this is my code then i am using the getInformation function like this: here i see the
Usage of asynchronous response data in asynchronous components
Below is the parent component and child component enter code here I want to draw a new chart whenever the $store(vuex) data changes. However, since the response of this data is asynchronous, when the child component is loaded, it may or may not have received the data(in Parent component). I always want to draw a chart with the data I
Hide element in VueJs while scrolling
I am making vue project. I want to hide some component while mouse scrolling, but when scroll ends, want to show component again. I know using scroll event, but again doesn’t shows component. Is this possible in vue? Answer I resolved this issue. timer variable is applied.
Issue when trying to show only specific array id value inside of component in Vuejs?
HelloWorld.vue User.vue Usertwo.vue main.js Logic trying to achieve, If i click on router-link id-1 from helloworld.vue component, then in User.vue and Usertwo.vue component. I need to show only array values list which is linked with id-1 only. from two arrray value list based on id. Similarly on whatever the id, i click on from router-view from helloworld.vue. Same id value,
Vue 3: Why variable watcher doesn’t work correctly?
I have like this code in my project: My watcher doesn’t work when I set num.value = 1. How I can fix this to work? But when I run with setTimeout it’s work Demo project here Answer You add the watcher after you set it to 1, so there is no chance for it to catch it.
How to get array index from html element?
Hey In my Vue application I have the opportunity to create several persons: If I want to add more persons, there is a button, which appends more of these person inputs: }, Output of the console.log method in the console (clicked the add button 2 times): Now the following problem: Let’s say for example we created 3 new persons. Now
Uncaught TypeError: Cannot read properties of undefined (reading ‘use’)
I’m trying to start a new project using vue js. I think I have all the dependencies I need through the terminal. I installed npm, vue, vue-bootstrap and vue-router. Error is from line 7 on router.js, Vue.use(VueRouter). Here’s the code for my main.js Here’s my router.js Sorry, I had the import vue line on the same line as the code