All Questions
Tagged with javascript vue.js
45,155 questions
0
votes
0
answers
12
views
Unable to properly set zoom level on different devices via OpenLayers
I have tried everything and can't seem to figure out how to properly set the zoom levels differently on map initialization and load for different devices. The goal is to have the "United States&...
0
votes
0
answers
37
views
Why my input validation function and mask for it are not working?
I have a problem. There is a parent component Form/index.vue , which contains an input for a phone number, it is linked to v-model. But for some reason, validating the mask using a function in the ...
0
votes
0
answers
31
views
Media recorder API video chunk issue
I have a Vue JS2 app that uses MediaRecorder API for creating a Blob for video.
The basic functionality I have is record a video. user can pause a video and on pause user can delete the last recorded ...
0
votes
1
answer
69
views
How do I bind element index using vue.js v-for to element model
Let's say I have the following model:
const mymodel = ref({
some_collection: []
});
I also have an element inside my vue.js component:
<div v-for="(div_model, index) in mymodel....
-1
votes
0
answers
39
views
404 on Page Reload with Vue Router History Mode
All right! Here's just the error message text, as you might post it on Stack Overflow – without code blocks:
When I reload a page like http://localhost:8080/dashboard/mitarbeiter, I get this error:
&...
0
votes
0
answers
29
views
Nuxt 3 NuxtLink Not Redirecting Properly, Only <a> Tags Work
I'm working on a Nuxt 3 project, and I'm experiencing an issue where NuxtLink components are not redirecting properly. Clicking on a NuxtLink does not navigate to the desired route, but using a ...
0
votes
0
answers
59
views
Auth0 login redirect failing with “Network connection was lost” error on Capacitor iOS app
I’m integrating Auth0 login with my Vue SPA using Capacitor for an iOS native app. The app runs on an iOS emulator (iPhone 16 Pro, iOS 16.0+), but login consistently fails at auth0....
-3
votes
1
answer
55
views
how can i remove percentage from vue url
How do I remove the % from my URL ?
This what my url:
http://localhost:8080/product/We-Vibe%2520Sync%2520O%2520Remote%2520and%2520App%2520Controlled%2520Rechargeable%2520latern's
When I call this
...
0
votes
2
answers
91
views
Scoped Slots & render() & h() function
This is a simplified situation. In reality, my code is more complex and larger. I am making a table component.
I am trying to pass data from a table to the column-component slot, which I pass through ...
-1
votes
1
answer
74
views
Why doesn't the `loading="lazy"` attribute of the `<img>` tag work for lazy loading when used inside an `el-carousel` component?
Why doesn't the loading="lazy" attribute of the tag work for lazy loading when used inside an el-carousel component?
Online Demo
Element Plus Playground 1
Example Code
<script setup lang=...
0
votes
0
answers
35
views
Error importing lodash in components when using Histoire
I'm using lodash for a number of things, and all works well. That is, until I try to write stories in Histoire. Everything works, except for lodash. Anytime a component uses lodash, I get one of ...
0
votes
2
answers
49
views
VuePrime datepicker does not change css attributes
I am using the PrimeVue UI component libary. I am trying to change the font size and color of the datepicker but it just won't work.
This is my template:
<div style="flex: 1;">
...
0
votes
1
answer
53
views
Can I declare a function inside a reactive object in Vue 3?
The following reactive object has a variable and also a function declared inside of it:
const state = reactive({
names: [] as string[],
add(name: string): void {
this.names.push(name);...
1
vote
1
answer
44
views
How to properly integrate Apache Thrift-generated JavaScript files with Vue 3 and Vite?
I'm building a Vue 3 application that needs to communicate with backend APIs using Apache Thrift. I've created a skeleton project (available on GitHub) but I'm struggling with integrating the Thrift-...
0
votes
0
answers
36
views
Video.js big play button not working when a custom touchstart event is added to the video element
Why is the Video.js big play button not working on touchstart after I apply a custom handler (Of course, the big play button works on click.) Does my custom handler overwrite the default Video.js ...