Top "Vue-component" questions

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

How to use VueJS 2 global components inside single file components?

I am trying to use a globally registered component (with Vue.component) inside a single file component but I am …

javascript vue.js vue-component
How to use SASS / SCSS with latest vue-cli starter project?

I need to use SASS or SCSS in my project. I used the vue-cli to make the latest version of …

webpack sass vue.js vuejs2 vue-component
Update VueJs component on route change

Is there a way to re-render a component on route change? I'm using Vue Router 2.3.0, and I'm using the same …

vue.js vuejs2 vue-component
How to load external html file in a template in VueJs

I'm new to vue js. I'm just creating a simple project where I just include vuejs through CDN. not using …

vue.js vuejs2 vue-component vue-router
VueJS Read Dom Attributes

I want to get the href attribute to the button click event. <a v-on:click.prevent="func($event)" href="/…

javascript vue.js vue-resource vue-component
Vue Trigger watch on mounted

I have a vue component below that I want to watch to trigger on when it's getting mounted. How do …

vue.js vuejs2 vue-component
Can a Vue Boolean prop be true by its presence and false by its absence?

In my Vue component, I have a Boolean prop called "obj", defined like this: obj: { Type:Boolean, default: false} I …

vue.js vuejs2 vue-component
Vue.js: How to specify props in single file component?

I'm defining a single file component I want to use props option on that component. But where can I add …

javascript mvvm ecmascript-6 vue.js vue-component
How to send updated values from Parent component to child component in Vue JS?

I am passing a variable from parent component to child component through props. But with some operation, the value of …

vue.js vuejs2 vue-component
VueJS get data as object

Here is a VueJS component: <template> <a @click="log">click me<a> </template&…

javascript vue.js vuejs2 vue-component