Skip to main content

All Questions

0 votes
0 answers
36 views

Vue Router 2.6 Navigation Issue, cannot navigate back (browser button)

I’m working on a Vue.js (v. 2.6) application that uses Vue Router for navigation between different pages. After logging in, the user is redirected to the home page with the following code: this.$...
Bbird's user avatar
  • 13
0 votes
0 answers
70 views

Facing issues in nested routes in Vue-3

I am creating a simple CRUD application for users based on different roles, but I'm facing issues with nested routes and component rendering. I have carefully reviewed their official documentation, ...
Ittefaq Technologies's user avatar
1 vote
1 answer
2k views

Problem: Unhandled error during execution of setup function and Unhandled error during execution of scheduler flush

I have a component UserView: <template> <div> <div class="text-center w-full text-xl text-green-700" v-if="isLoading"> Loading... </div> <div ...
Maksym's user avatar
  • 15
1 vote
1 answer
47 views

Сhanging number of buttons with different functions in Header-component

I would like to have a Header-component but with varying number of buttons and different functions that those buttons can trigger, for example, "visit about page", "trigger vuex action ...
tilde42's user avatar
  • 13
0 votes
1 answer
164 views

Hide/disable VueJs Component

I have a bunch of components, and the users are allowed to access only certain components based on their permissions. How to disable the component? These are the routes: { path: "/...
Mr. A's user avatar
  • 37
0 votes
0 answers
40 views

Unable to access meta object in routes-VueJs

I am unable to access the neededPermissions array in the routes. I clearly have the array neededPermissions in routes but every time I try to access the array, console logs undefined. How can I get ...
Mr. A's user avatar
  • 37
0 votes
0 answers
84 views

Every time I route to a new page I have to check the server with axios in a Vue JS app

So every time, I route to a new page on the click of certain divs I have to check if the name of the div exists in the server with axios and display all the information about the div clicked from the ...
Samanja Cartagena's user avatar
1 vote
1 answer
307 views

What am I doing wrong when using Vuex.Store?

I want to take advantage of the "Vuex Store" capabilities to store and use the "isAuthenticated" variable throughout the project, in accordance with this, give access to routes. ...
hajime4life's user avatar
1 vote
2 answers
480 views

Vue array undefined

I recently work on my team project that uses vue3. I am still trying to get used to vue component and api, so please excuse me for asking such a simple question. I was working on this page where I was ...
chee's user avatar
  • 31
0 votes
0 answers
57 views

After adding 1 item to TODO app fails when I just type on text field, How to fix it?

this might be stupitest question to ask but I just can't understand why this is happening , I am trying to Build simple TODO app with Nuxt Js with Vuex, When I add one Item it works fine and displays, ...
Sarwan Nizamani's user avatar
0 votes
1 answer
175 views

How to display data from Vuex store in life time in Vue

I want o show data from Vues store. So first I want to check if authentication true, if it is, I want to show data from Vuex. Here is my shortcode: <li v-if="authenticated"> ...
magic bean's user avatar
0 votes
0 answers
445 views

How to store user info after login in Vuex

I am trying to make an api call in login and I want to store it in Vuex store. So in the beginning my mutation: export const STORE_USER = (state, {user}) => { state.user = user; } and my ...
magic bean's user avatar
0 votes
0 answers
41 views

Router Vue is not transfering from.params to route

so i have sth like this: in router: { path: '/feature', name: 'CustomFeature', component: CustomFeature, pathToRegexpOptions: { strict: true }, meta: { title: Custom ...
camelyellow's user avatar
1 vote
1 answer
307 views

How to fill items of the state in vue

I have a cart with id and when I make the call with cart_guid (carts/70290ee4-258b-11cb-9ca4-42ca64dfa778) the json: { "data": { "type": "carts", &...
magic bean's user avatar
0 votes
1 answer
1k views

how to make route redirect to login if user is not loggedIn in vuex

What is the problem in guard route the condition if(!store.getters.loggedIn) is always return false. If no token I can to go very routes. can anyone tell me the solution plz . my expectation is want ...
Oeng Kim Chhay's user avatar

15 30 50 per page
1
2 3 4 5
7