Top "Vue-component" questions

Component is a powerful Vue feature that allows extending basic HTML elements to encapsulate reusable code.

how to use setInterval in vue component

I define the timer in each my-progress, used to update the value of view, but the console shows the value …

javascript vuejs2 vue-component
how can I use console.error or console.log in a vue template?

I have a vue component with <form @keydown="console.error($event.target.name);"> gives app.js:47961 [Vue warn]: …

vue.js vuejs2 vue-component
Open a Vuetify dialog from a component template in VueJS

I'm using the VueJS Vuetify framework and I need to open a dialog - that gets imported as a component …

javascript vuejs2 vue-component vuetify.js
Using lodash in all of vue component template

Can I use lodash _ in all of my vue component? for example: I have components organized like below: App.vue &…

javascript lodash vue.js vue-component
Watching computed properties

I have a component with the following hash { computed: { isUserID: { get: function(){ return this.userId? } } } Should I be watching isUserID …

vue-component vuejs2 computed-properties
Vue.js - How to call method from another component

I am using Vue.Js v2. I want to call component1->c1method in component2->c2…

javascript vue.js vuejs2 vue-component
Vuejs can't access refs from component

I am trying to get the canvas element which is inside a template of a component, found great documentations for …

vue.js vuejs2 vue-component
vue: Uncaught TypeError: Cannot read property ... of undefined

I'm using [email protected] and the vue official webpack template to build an app. When developing locally, I often see the …

vue.js vue-component netlify
Vue.js - Using parent data in component

How I can get access to parent's data variable (limitByNumber) in my child component Post? I tried to use prop …

javascript vue.js vue-component
Passing props dynamically to dynamic component in VueJS

I've a dynamic view: <div id="myview"> <div :is="currentComponent"></div> </div> …

javascript vue.js vuejs2 vue-component