Condition for request does not work Vuejs

The condition works in a strange way. need request "A" if true, and request "B" if false. <input type='checkbox' :value='category.title' v-model='checkedCategories' @change='...

How to update page title and meta data in vuejs2?

I am a beginner in vuejs and I try to update the page title and meta content when the route changes with the help of the following tutorial. updating the page title and meta content But when I add the ...

Axios send request without array [closed]

<input type='checkbox' :value='category.id' v-model='checkedCategories' @change='changeEvent' @click='filteredCategories(category.id)'> js data checkedCategories: [] axios: axios.get('/',...

Multiple instances of Vuex store

I have to following situation with vue2/vuex; Let's say I have a users module where I store all users I fetched from my api. I use this module to populate, for example, dropdown lists containing all ...

Eslint state already declared [Vuex]

I am running ESLint and I am currently running into the following ESLint error: error 'state' is already declared in the upper scope no-shadow const state = { date: '', show: false }; ...

Vue 2 global mixin not working only in App.vue

I have a Global mixin that works everywhere except in the App.vue.This mixin is supposed to load a Yaml config file and make it available everywhere. So the question is ¿why it doesn't work only in ...

VueJS close Hamburger Menu on Route Change

I have a simple VueJS App with a Navigation Bar from Bootstrap: <template> <header id="header"> <nav class="navbar mynavbar navbar-fixed-top"> <div class="container"&...

DevServer keeps shutting down before starting

Whenever I run npx cypress open-ct my dev-server fails to start. [@cypress/webpack-dev-server]: removing HtmlWebpackPlugin from configuration. [@cypress/webpack-dev-server]: removing HtmlPwaPlugin ...

Dynamic content to v-expansion-panel-content

I would like to load data each time I click on header, then show the data (when it is loaded) into the v-expansion-panel-content. It's not always working. If user open the accordion before data is ...

CORS blocking client request in Nuxt.js

I am having issues when making a client request. I have followed the documentation on Nuxt.js and Axios but I still can't seem to get it working. Maybe I am missing something.. My Vue component ...