Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

test demo: https://codesandbox.io/p/devbox/2p7rln when i want to jump id 1 page,i noticed that useRoute at location.store does not updated.Is there something wrong i write it?
Yaphets's user avatar
  • 11
0 votes
0 answers
73 views

I have a very basic Vue + Vite + Router + Pinia application that has a reactive({}) object in a Pinia store. If I update it with 1000 items it will freeze the browser for 3-5 seconds when it should be ...
user5541269's user avatar
1 vote
2 answers
55 views

Vue-Laravel-based environment, Mail sent to user with URL leads to a specific path on application - not app root - , on click it indeed redirects to required path - browser URL bar detects required ...
Mahmoud Tarek Mahmoud's user avatar
-1 votes
1 answer
79 views

I’m running into an issue with Nuxt 4 / Vue 3 where I need to redirect the user to /login immediately after logging them out or when a token expires. The problem is that if I call navigateTo('/login') ...
Raphael V.'s user avatar
-1 votes
1 answer
60 views

i'm developing a game with vue.js & vue-router. this often involves fairly large image assets! working in vanilla javascript, i've approached this with window.onload, displaying a div that only ...
ankiolyne's user avatar
0 votes
0 answers
31 views

I'm building a Vue 3 SPA with Vuex and Vue Router. On my Payment Success page, I call an API to assign purchased drinks: created() { this.buyDrink() }, methods: { buyDrink() { const payload = ...
Abhinand K's user avatar
0 votes
1 answer
127 views

I've set up a front-end environment with Vue.js, Vite, and Vue Router. When I navigate between pages, the scroll position is remembered, causing the new page to start at the previous location instead ...
HISTIGMA's user avatar
1 vote
0 answers
51 views

I’m hosting a Vue.js single-page application using history mode routing. The app’s static assets (JavaScript, CSS, images) are stored on DigitalOcean Spaces CDN, with the Vue app’s publicPath ...
Jacob Nolan's user avatar
0 votes
1 answer
40 views

I have a list of items each with a name and numerical ID. Each one I want to render as a component with a link to a page for that item. This requires me to have a <router-link> tag. I cannot ...
nxe's user avatar
  • 281
0 votes
1 answer
55 views

The route I'm having trouble is the below one: { path: "/report/:reportid", component: ReportPage, name: "ReportPage", props: true, meta: { requiresAuth: true }} This page hooks a ...
RaZzLe's user avatar
  • 2,150
1 vote
0 answers
39 views

I’m a Vue developer and I use @tanstack/vue-query to fetch data. I have a page with cards wrapped in router-link and infinite scrolling. The problem is when I scroll many times, go to a card (navigate ...
Feruz Atamyradow's user avatar
0 votes
0 answers
49 views

I am learning learning Vue/JavaScript for the first time and I've ran into a problem I am unable to figure out. I am trying to pass a some data I need to the next page via a parameter. Every time I ...
stirling's user avatar
  • 165
1 vote
1 answer
435 views

I have a vue.js library thats supposed to be kinda simple i just have a custom function for creating a vue app like this: import AppComp from "./components/App.vue"; export const ...
Mohammad Si Abbou's user avatar
0 votes
0 answers
35 views

I'm trying to convert a react project to vue, for educational purposes only. Instead of using RouterLink, I used a regular anchor like: <li><a href='#' @click="handleNavMenu('/URL')"...
Andre RB's user avatar
  • 316
0 votes
0 answers
87 views

I have a Vue 3 app that utilizes the Composition API, Vue Router w/ history mode, Vite, Vuetify and Typescript. When I refresh the browser on a different page, I get a 404 error, and I'm pretty ...
Ethan's user avatar
  • 83
0 votes
0 answers
30 views

I am attempting to create an image link in Nuxt component <NuxtLink v-if="player?.image_url" :to="`/players/${player.slug}`" > &...
user2799827's user avatar
  • 1,139
2 votes
1 answer
257 views

I am trying to use both Vue Router and Vuetify in Vue SFC Playground. I began with the Vue Playground example of Vue Router (taken from Getting Started). This had Vue Router already imported, so I ...
TripleCamera's user avatar
1 vote
1 answer
66 views

My routes.js is: {... path: ":term", name: "some-name", component: () => import("../path/to/com.vue") } ... Question is: How to make smth like this and make it ...
Max S's user avatar
  • 131
0 votes
0 answers
29 views

I have the following route defined in my Vue2 app: classes: { path: "/:type(workout|relax)", name: "classes", component: () => import("@/views/Classes.vue&...
vuelicious's user avatar
1 vote
1 answer
52 views

I declared an extension method for objects by creating my own function. However, I do not call or import it anywhere. As a result, I get an exception. How can I fix this? I don't recall such behavior ...
padavan's user avatar
  • 929
0 votes
2 answers
100 views

Problem: when opening a modal / lightbox in my Nuxt app, it resets scrolling of the parent page. Two criteria seem to clash: Keep the scroll position intact when opening the modal Opening the modal ...
Jessica Knight's user avatar
0 votes
1 answer
62 views

const queryKey = ref("userData"); const { data, isLoading, error } = useQuery({ queryKey: [queryKey], // Chave única para identificar a consulta queryFn: async () => { ...
rodrigo's user avatar
1 vote
2 answers
95 views

Hi folks! o/ I have a few-year-old personal website that I don't use much, but recently, I wanted to check its Google indexation for practice purposes. Techs used : [ Vue.js2 + Vue-router ] It's a 5-...
EdouardHrgt's user avatar
1 vote
1 answer
57 views

I am migrating from Vue2 to Vue3. The router seems to work properly in the sense that I am being redirected to the correct components, but the url in the browser window does not update i.e. I am in ...
Kalio's user avatar
  • 21
0 votes
0 answers
46 views

I have a product list page and productdetails page. When I click on the card of the product,it should go to that product detail page with the ID passed, but it doesnt happen. I have two console.log. ...
Reactoo's user avatar
  • 1,074
0 votes
0 answers
71 views

I am building an SPA with Nuxt and from the documentation I got the idea that all *.vue files under /pages folder will be automatically used to generate routes. When I run my app locally the routing ...
zmaten's user avatar
  • 481
1 vote
1 answer
235 views

I'm new to Nuxt 3, and I'm trying to replicate some route behavior I implemented with Vue Router in a Nuxt 3 project. Specifically, I want to use nested routes to create route-based layouts for ...
Townsfolk's user avatar
  • 1,334
0 votes
2 answers
72 views

Suppose I have a view to show a list of table and a view to show the form, with the route on below: path: '/projects', component: Project, children: [ { alias: '', ...
wwong23's user avatar
0 votes
0 answers
78 views

after an update, going from ‘vue js 2’ to ‘vue js 3’, ‘vue-router 3’ to ‘vue-router 4’ and ‘vuex 3’ to ‘vuex 4’, I'm trying to fix my code so that it all works with Laravel. This code worked before ...
Zekura's user avatar
  • 335
0 votes
1 answer
177 views

I've encountered a task to run multiple vue spa apps with their own router on a single linux server. In my case there is one backend that should serve two vue apps both on vite using nginx. Both apps ...
Dorialean's user avatar
1 vote
1 answer
337 views

I'm building a web app in Vue3 and using Vite to serve it during development. The app is split into three parts - management, user and login. Each of these will call the same backend. The intention is ...
thran's user avatar
  • 166
-1 votes
1 answer
57 views

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-...
Jesús Fernández's user avatar
0 votes
0 answers
34 views

TL;DR: how are the priorities of Vue routes (global vs child) calculated? Quasar is a Vue framework that can bootstrap applications. I am trying to follow its suggested structure but I am not sure how ...
WoJ's user avatar
  • 30.7k
0 votes
0 answers
172 views

I'd like to create modal dialog pop-up window with it's own url. Having table of server items I'd like to open one item and trigger pop-up with it's own url with fetched server item details. The pop-...
Simon Klimek's user avatar
0 votes
0 answers
73 views

Console Error TypeError: u.then is not a function at index-CyodobdF.js:26:14273 at Object.runWithContext (index-CyodobdF.js:14:10931) at we (index-CyodobdF.js:26:19934) at index-...
825's user avatar
  • 11
0 votes
1 answer
75 views

Basically, im creating users with a default password and a hasDefaultPassword boolean property set to true and after the login screen i want to force users to change the password and set ...
Joaquin Leon's user avatar
0 votes
0 answers
60 views

I have a project written on Vue and uses Vue Router. I want to get Authorization header. As I can understand, Vue Router manages requests and route components. There is a method beforeEach in router ...
chudin26's user avatar
  • 1,181
0 votes
0 answers
207 views

I have a VueJS 3 application with Pinia stores and Primevue JS library hosted in an EC2 bucket and recently out of no where I am getting these errors that are preventing the page from loading, oddly ...
Dylan Cross's user avatar
  • 6,016
0 votes
1 answer
84 views

I'm working on a Vue.js application using Vue Router and Axios to fetch user data. I have two pages: /dashboard and /dashboard/me. The data for the /dashboard page is successfully loaded and displayed,...
Asking's user avatar
  • 4,276
0 votes
1 answer
36 views

I'm trying to add a child grid to a Syncfusion ejs-grid in Vue. The problem I'm having is that the arrow that is added to the row to allow you to expand a row is causing navigation when I click it. ...
Mog0's user avatar
  • 2,239
0 votes
0 answers
72 views

I have a Vue.js application built with Vue Router and deployed on Render. The app works perfectly when navigating between pages using Vue Router links. However, I encounter an issue when: 1. ...
sofies's user avatar
  • 37
0 votes
0 answers
24 views

The initial number of comments is obtained by passing parameters from another component through routing.This component with a form has the function of deleting comments and can return the total number ...
rick's user avatar
  • 11
0 votes
1 answer
39 views

I have created a global auth middleware but need to check if you are going to any route in /dashboard and its subroutes like /dashboard/account or /dashboard/settings. The middleware below is a very ...
Calvin Coleman's user avatar
0 votes
0 answers
141 views

I am developing two plugins that will be used by multiple vue apps. One adds the global property $routes and the other one $auth. I want the vue apps that use the plugins to know the types of said ...
Alfonso Irarrázaval's user avatar
0 votes
2 answers
66 views

I'm having problems customizing the routes.js. I would like to go directly to the login (Login.vue) when I initially call it with / or /login. How can I customize the default routes.js correctly? The ...
Ralf Bordé's user avatar
0 votes
0 answers
75 views

When I mutate the Pinia state defined as an array (by pushing elements to it), I can't see the corresponding change from the component in another route. The state changes can be checked in the same ...
Hsun's user avatar
  • 15
0 votes
0 answers
154 views

so I followed the Vue docs and created a wrapper for the pages so that I can use top-level await. The first time the page is loaded, it works correctly and shows me the spinner. the second time I come ...
itsDanial's user avatar
  • 395
0 votes
0 answers
53 views

Here's the translation: I am working on a project using Vue^3.4.21, vue-route: ^4.3.0, and VITE ^5.2.8, and I have the following problem: if I am on the page /someanotherpath and press F5 to refresh ...
Kali's user avatar
  • 1
0 votes
2 answers
129 views

I have a newsCard component in vue 3 using options API. When the user clicks on this card I want them to go to a page displaying the full news article. However, I need to pass some data to this full ...
eligolf's user avatar
  • 1,904
1 vote
0 answers
814 views

I face an issue with my Pinia store and its router guard. When I go through the 'logout' function that basically does the following, everything comes into place. The logout function in auth.js Pinia ...
Milan Milosevic's user avatar

1
2 3 4 5
125