Top "Vuejs2" questions

Use this tag for questions specific to version 2 of Vue.

Change the default base url for axios

I have configured my axios like this const axiosConfig = { baseURL: 'http://127.0.0.1:8000/api', timeout: 30000, }; Vue.prototype.$axios = axios.create(axiosConfig) Inside …

javascript vue.js vuejs2 axios
What is nextTick or what does it do in VueJs

I read the docs, but I can't understand it. I know what data, computed, watch, methods do but what is …

vue.js vuejs2
Set default value to option select menu

I want to bind a custom attribute to an option select menu. The <option> tag would simply have …

vue-component vue.js vuejs2
Method vs Computed in Vue

What is the main difference between a method and a computed value in Vue.js? They look the same and …

javascript methods vue.js vuejs2 computed-properties
Vuex state on page refresh

My app uses the Firebase API for User Authentication, saving the Login status as a boolean value in a Vuex …

javascript vue.js vuejs2 state vuex
Get element height with Vuejs

I want to get the height of a div in order to make the height of another div matching it. …

javascript html vue.js vuejs2 vue-component
File input on change in vue.js

Using plain HTML/JS, it is possible to view the JavaScript File objects of selected files for an input element …

javascript vue.js vuejs2 vue-component
Sort an array in Vue.js

How can I sort an array by name or sex before displaying it in a v-for loop? https://jsfiddle.net/…

vuejs2
Condition in v-bind:Style - VueJS

I have an easy question for which I hope you could help: <div> <figure :style="{ 'background': 'url(…

vue.js vuejs2
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