108,131 questions
0
votes
0
answers
29
views
ioredis not catching ERROR [ioredis] Unhandled error event: Error: read ECONNRESET
I have a Vue+Nuxt app that uses Redis as cache. It's is setup in the following files.
server/plugins/redis.js
import redis from "unstorage/drivers/redis";
import Redis from 'ioredis';
...
4
votes
1
answer
428
views
Nuxt 4 + shadcn/vue Overriding component You can specify a priority option when calling addComponent to avoid this warning warnings for all components
I’m using Nuxt 4 with [email protected], and I’m getting warnings for every shadcn-vue component:
WARN Overriding StepperDescription component. You can specify a priority option when calling ...
2
votes
0
answers
67
views
Forge Viewer offline in Vue/Vite (iOS WebView) – call function across files without import/window/globalThis
We are building an offline Forge Viewer project using Vue + Vite, which will later be wrapped in an iOS app (Capacitor).
In offline mode, we need to serve model files and translations from a local ...
0
votes
0
answers
283
views
Validation problem with Zod Resolver using PrimeVue forms
I'm having somewhat of an issue using Zod form resolver.
Using PrimeVue forms, I have validate-on-value-update activated:
<Form
v-slot="$form"
:initial-values="form.data()"...
0
votes
0
answers
40
views
keycloak-js with Nuxt: URL fragments not removed after login, authentication lost/blank page displayed on page reload with URL fragments
I'm using keycloak-js in a Nuxt 4 application for authentication. After login, I am redirected back to my page, but the URL contains session-related query parameters (like ?code=...&state=...&...
0
votes
1
answer
44
views
Range in Vue js
I am trying to implement a slider into my vue-code but it tends to return to its original position when moved, I would be pleased if you could help me to fix it.
What am I doing wrong?
<script lang=...
0
votes
0
answers
113
views
Mercado Pago Payment Brick: missing_payment_information error when only accepting credit/debit cards
I'm integrating the Mercado Pago Payment Brick in my Vue 3 / TypeScript project, and I'm facing an issue: whenever I try to submit the payment, the Brick returns the error missing_payment_information ...
2
votes
0
answers
48
views
How can I use the input search in a different component using Algolia/Vue
I am using the infinite scroll with Vue 3 and InstantSearch(Algolia) but the
<ais-search-box placeholder="Search here…" class="searchbox" />
it should be in a different ...
0
votes
1
answer
60
views
400 bad request after refresh a page [closed]
Halo, so this happened when
User login -> get auth token -> save the token into cookies -> landing on homepage -> then refresh a page
keys to pinpoint:
my app is write on vue js which, ...
0
votes
0
answers
69
views
Custom templete with Nuxt Timeline
No matter what I do my custom template does not apply. In the timeline I always see Title first and then description. This is my code:
<template>
<div class="p-8">
<h1 ...
2
votes
1
answer
78
views
How to save Google Cloud GET Object API mediaLink response to local storage?
I wrote this code that uses Google's Cloud API to get an object from my bucket and download it. It works perfectly when I had my bucket set to public (allUsers added to Principal w/ all the required ...
-3
votes
1
answer
211
views
How to show audio waveform inside the player (like Telegram voice messages) in Vue + Tailwind? [closed]
enter image description here
I’m building a call center dashboard where we need to add recorded conversations. The audio should be displayed with a waveform inside the player itself, not as a separate ...
0
votes
1
answer
73
views
Django + SimpleJWT: Access tokens sometimes expire immediately ("credentials not provided") when calling multiple endpoints
I’m building a Vue 3 frontend (deployed on Vercel at example.com) with a Django REST Framework backend (deployed on Railway at api.example.com).
Authentication uses JWT access/refresh tokens stored in ...
1
vote
1
answer
81
views
Cannot build Vue app: "default" is not exported by @vue/[email protected]
Background
We are trying to migrate a Dockerized Vue 2/Vite app to Vue 3/Vite and have upgraded (among other packages):
@vitejs/plugin-vue2 2.3.3 --> @vitejs/plugin-vue 6.0.1
buefy 0.9.29 --> ...
0
votes
1
answer
227
views
Toaster from shadn/Sonner it is not shown
I'm working in a Vue monorepo with a custom UI package. I want to use the Sonner toast component (vue-sonner v2) following the official shadcn-vue guide. I've set everything up without any import ...
2
votes
1
answer
59
views
nuxtjs button component has several size style with tailwindcss. cannot use different size in one place. all are getting the lagest button size
I'm use nuxt.js and tailwindcss for this. create a common button component that can use in several ares with different sizes (sm -> small, md -> medium, lg -> large). but once I use all the ...
0
votes
0
answers
176
views
Using PrimeVue.Popover as a tooltip: problem with setTimeout
I'm trying to implement a tooltip component using PrimeVue.Popover, but when I use Popover.prototype.show(event) in the callback of setTimeout, it crashes...
Here's a minimal example with that ...
1
vote
1
answer
54
views
Vue 2 + Composition API + vue-test-utils 1.3.6: `Cannot redefine property` and `setProps` doesn’t trigger `watchers`
Problem:
I’m migrating a Vue 2.6 app to the Composition API (via the plugin) and hit two testing issues with vue-test-utils (v1) + Jest:
Jest couldn’t mock functions from a plain TS module (not a Vue ...
0
votes
1
answer
45
views
Keyup meta plus enter doesn't work in vue3
I have a simple textarea with a submit button in a vuejs (3.5) component, really basic (I'm omitting CSS classes):
<template>
<div @keyup.ctrl.enter="submitForm" @keyup.meta....
0
votes
1
answer
56
views
Why do I see only some icons as icons in VS Code?
When writing a Vue.js component, the following code:
const mealIcon = (meal: string): string => {
switch (meal) {
case "lunch": return 'ic:outline-lunch-dining'
case "...
0
votes
1
answer
79
views
404 not found js css assets with ASP.NET Core MVC, vite/vue web app
I'm having trouble with an ASP.NET Core 8 MVC app with vite vue. My app runs locally in which I mound in a cshtml div id= app all the vue components.
Locally the vite server runs and everything is ...
1
vote
0
answers
45
views
How to make WebStorm auto-import Vuetify types from vuetify/framework instead of internal vuetify/lib/components/*
I’m working on a Vuetify 3 + Vite + TypeScript project in WebStorm.
When I auto-import Vuetify types (e.g. SortItem from the data table), WebStorm generates this import:
import type { SortItem } from &...
0
votes
2
answers
44
views
Getter from getter with vuex and Typescript
Trying to upgrade a project that is a couple of years old that uses vuex as store to the latest version of Vue3 with Vite and Typescript.
Now stuck on an issue with getters calling other getters. This ...
1
vote
0
answers
93
views
Check the type of a custom object
In Vue 3 & TypeScript, I would like to display a different component based on the list given as a prop.
Therefore, I'd like to check the type of the objects in my "objectList"
The issue ...
2
votes
1
answer
191
views
A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function
I'm getting this error when I use useNewSession.ts composable in my Nuxt middleware.
[nuxt] A composable that requires access to the Nuxt instance was called
outside of a plugin, Nuxt hook, Nuxt ...