Top "Vue-component" questions

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

Vue - access nested childs using ref

I have vue component which I use inside himself - data can have array with subelements and I use this …

vue.js nested vue-component ref
How to get data to work when used within a component and Axios?

I'm new to Vue.js and Axios. I don't quite understand how to get the data option to work when …

vue.js vuejs2 axios vue-component
Vue-Router Passing Data with Props

I am having a hard time passing props using Vue-Router. I seem to not be able to access the props …

vue.js vuejs2 vue-component axios vue-router
Creating a child component within a parent component in Vue.JS

I am trying to figure out how to make one component inside of another one in VueJS. For instance, something …

javascript laravel vue.js laravel-spark vue-component
Components and Sub components

I'm new to Vue.js and I'm having a bit of trouble using components with sub-components. I have the following .…

vue.js vue-component vue-loader
Can I do dispatch from getters in Vuex

Fiddle : here I am creating a webapp with Vue 2 with Vuex. I have a store, where I want to fetch …

javascript vue.js vue-component vuex vuejs2
Vue.js ref inside the v-for loop

I tried to use components inside v-for loop and init the ref to future access some methods of these from …

javascript vue.js vuejs2 vue-component
Is there any easy way to create new components in the Vue-cli?

I can't find any easy way to create new components with the Vue-cli. I came from Angular and there I …

angularjs vue.js vue-component vue-cli
Registering vue components globally

I have a vue app that I created using the vue-cli Im creating some components and I want to use …

javascript vuejs2 vue-component
Can we make vue.js application without .vue extension component and webpack?

Note: Can we write vue.js large application without using any compiler for code like currently i see all example …

vue.js vuejs2 vue-component vue-router