All Questions
331 questions
-1
votes
1
answer
35
views
I dont have VueRouter or Router from 'vue-router' [closed]
I dont know how to make a web router in vue because im a beginner, so in every tutorial, i see that they import router or vuerouter from 'vue-router'
What i've already tried? i ran npm install vue-...
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, ...
1
vote
1
answer
50
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=&...
0
votes
1
answer
469
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()...
4
votes
1
answer
5k
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: ...
0
votes
1
answer
98
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('...
0
votes
0
answers
620
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 ...
0
votes
1
answer
65
views
Displaying VUE CDN
I can't display v-for using CDN
const Gallery = { template: '{{$t('gallery')}} <img :class="[[item.class]]" v-for="(item, index) in carousel" :src="[[item.img]]" alt=&...
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 ...
0
votes
1
answer
357
views
Vue router scrolling to vue-view comp
I'm creating an application in Vue and I'd like all the main content to be on one page with the option to scroll to specific elements such as LandingPage then below Form, About ..etc.
Is there any way ...
2
votes
2
answers
495
views
How to Disable the Vue component (div-tag)?
I am trying to disable the VUE component based on the user access settings. Now, I am able to hide the component from the UI, but after every re-render, the component is getting active. I don't just ...
2
votes
1
answer
30
views
Save User Link And Jump To TransferPage 3s And Jump back User Link
When user click any bouton, that jump to Transfer Page for 3 sec.
and then will jump back to user clicked link.
Schematic:
HTML:
Vue:
0
votes
2
answers
767
views
Vue.js: How to bring user back to the spot in a component if they click back button
I have a component with a navigation bar at the top. When the user clicks a button in the navigation bar, the component will dynamically render the correct component at the bottom of the page.
The ...
0
votes
1
answer
1k
views
routers and components in vue.js
My component information is not displayed!!!
the router is working great and I test it to many times but there is nothing in components when I run the project.
They all seem to have nothing in them ...
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 ...