Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

2 votes
1 answer
72 views

[Vue warn]: Failed to resolve component: UserBasket

I ran into an issue that had me scratch my head for a few days now. I am doing a application with vuejs3 frontend. For all the code I provide I removed the most other code and kept what I think is ...
Tarakos's user avatar
  • 23
0 votes
0 answers
37 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
0 votes
0 answers
34 views

Vue ref of parent component does not trigger update of child when changed in another child (Android Chrome)

In my Vue/Vite/Vue Router project, I use a component called DefaultLayout for the basic layout of my page. It has several slots, like action-left, action-right, title and default: <!-- layouts/...
dasdawidt's user avatar
0 votes
2 answers
52 views

Handling a this.$router.replace(href); in vue 2

I am new to vue and working on vue code those before me created. So there is a lot of legacy code that is just too complex to change right now. The vue code can be in one of two states when a user ...
Sam Carleton's user avatar
  • 1,391
0 votes
0 answers
105 views

Module not found: Error: Can't resolve 'vue-router' in '{Project Path}\src'

In my vue.js project, I put this code : import {createRouter, createWebHistory} from 'vue-router'; on the file router.js, but when I try to run the project on browser I always got this error message ...
Willy R. W.'s user avatar
0 votes
0 answers
21 views

how to pull out the vue-router id I need in "el-table" to navigate the page?

I'm sorry, I don't know English well. Hello, tell me how to pull out the vue router id I need in the "el-table" to navigate the page. <tr v-for="spisok in poluhenie"> ...
Technician's user avatar
0 votes
1 answer
40 views

transferring userId from one component to another using vue router

I have a list of users obtained from the api. I need to make sure that when you click on the user's name, a page with his information opens with a separate link Component UsersList <button @click=&...
Begemot's user avatar
  • 15
0 votes
1 answer
35 views

vue3: Optionally turning RouterLink into a link

I checked the docs but before opening a vue feature request I'd like to be sure if it's implemented already. I'd like 'My link text' to optionally become a link without having to duplicate the content ...
codekoriko's user avatar
0 votes
1 answer
342 views

Right way of middleware in vue-router

I have created routes in vue, and defined some middleware conditions before each route. But It's not working as I expected. This is router/index.js file. const token = computed(() => useAuthStore()...
Gursahb Webcyst's user avatar
0 votes
0 answers
28 views

In a project using vue-router, children are displayed correctly in route-view in the local environment, but not in the production environment

I am using vue-router to create projects. http://localhost:8080/#/staff is the parent component and . /staff/staff1 and . /staff/staff2.. I want to display child components like this. When I run npm ...
hanji's user avatar
  • 1
0 votes
0 answers
275 views

Cannot use 'in' operator to search for 'path' in undefined not getting solved

i am always getting error "Cannot use 'in' operator to search for 'path' in undefined" i checked several blogs, it shows that i am doing spell mistake in router file, but even after ...
nmn124's user avatar
  • 1
3 votes
1 answer
4k views

VUE error : Discarded invalid param(s) "recordIds", "datasources" when navigating

in Vue i am facing an issue while passing params from one route to another. This with what my target route looks like : { path: '/record-modification', name: 'recordModification', component: ...
Anonymous Dev's user avatar
0 votes
1 answer
1k views

Vue - refresh state on clicking back button in the browser

I am developing a login page, which lists different provider options. If you click on a provider, it will redirect to the sign-in page of the respective provider. This login component has a bool ...
nitcherry's user avatar
0 votes
1 answer
60 views

Vue route not being registered

I am trying to add a new route to an existing web app: This is the entry point: // main.js import router from './router'; ... etc new Vue({ router, ... etc render: (h) => h(App), }).$mount('...
Fi Li Ppo's user avatar
  • 156
0 votes
0 answers
328 views

How can I pass props to route components in vue.js using Vue Router?

I'm still new to learning vue.js. I'm trying to introduce a dropdown menu into my website so I can simply navigate to other pages. The problem is when I try and pass props in the manner that the ...
CRUX56's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
61