Top "Vue-component" questions

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

Vue.js loading single-file components

I'm new to Vue.js and want to use single-file components, but I don't understand the workflow. For example, I …

javascript vuejs2 vue-component
In Vue.js can a component detect when the slot content changes

We have a component in Vue which is a frame, scaled to the window size, which contains (in a <…

javascript html vue.js vue-component
access store outside of component vuejs

I have a file for configuring my OpenID Connect authentication export const authMgr = new Oidc.UserManager({ userStore: new Oidc.WebStorageStateStore(), …

ecmascript-6 vue.js vuejs2 vue-component vuex
How to access a computed property from a method in a Single File Component with Vue.js

I have a normal single file component which has both a computed property and some methods: <template>...</…

vuejs2 vue-component computed-properties
Proper way to re-initialize the data in VueJs 2.0

I was going through this answer on SO : Is there a proper way of resetting a component's initial data in …

javascript vue.js vue-component
Vue. How to get a value of a "key" attribute in created element

I try to create a components and get its key for using in axios. Elements created, but I can't get …

vue.js vuejs2 vue-component
How to get mouse coordinates in VueJS

I have a component triggered with v-on:click="someMethod". How would I get the mouse coordinates (X, Y) of this …

javascript vue.js vuejs2 vue-component
v-on:change does not work for vue-multiselect

I am using vue-multiselect component in my vue.js project, I am using v-on directive to execute a function on …

vue.js vuejs2 vue-component vue-events
How can I call method from data on vue.js?

My vue component like this : <template> ... <ul class="nav nav-tabs nav-tabs-bg"> <li v-for="tab in …

javascript vue.js vuejs2 vue-component vuex
Vuejs js for multiple pages, not for a single page application

I need to build an application using laravel 5.3 and vuejs 2, because I need to use two-way binding rather than use …

laravel vue.js laravel-5.3 vue-component vuejs2