108,231
questions
0
votes
0
answers
20
views
How to update Vue JS reactive binding while a component is hidden
I have a well-established Vue JS app, which is all working fine to the human eye, but during automated QA testing there's a subtle effect which fails the tests due to a 2ms period of having no data ...
1
vote
1
answer
27
views
How to type a wrappers props without preventing it from appearing in attrs?
Wrapper component
<script setup lang="ts">
import InputBase,{ Props as InputBaseProps } from "./InputBase.vue";
interface Props extends InputBaseProps {
label?: string;
...
0
votes
0
answers
17
views
Why useRouter() function returns undefined when I render a component by using h() and render()? [closed]
I was writing a plugin when I came across the problem...
This is my component:
<template>
<el-button type="danger" round @click="gotoRoot" class="clear-button&...
0
votes
0
answers
18
views
How to apply classes to the checkboxes that are rendered in a buefy b-table when checkable is set to true?
I have a buefy b-table component and I'm trying to style the checkboxes to match the rest of my project by applying classes to them. Since I am not actually creating/rendering the element, how do I ...
-1
votes
0
answers
17
views
Incorrect operation of the mask when characters overflow
I ran into a problem on nuxt 3. When using the v-mask directive on an input with this mask mask: "{+7} (000) 000 00 00" a problem arises - if you enter more characters than in the mask, then ...
-1
votes
0
answers
27
views
Laravel 11 Session Authentication [closed]
I’m struggling with Laravel 11 cookie session authentication. Could someone provide me with a step-by-step guide? It works on Laravel 10, but I’m lost with Laravel 11—I keep getting CSRF mismatch or ...
1
vote
1
answer
18
views
How to put json variable directly into DIV Class
I need to change the color of a div element by a number that I assign in the script section. I am using Nuxtjs and tailwind.
This is the code what I want to work but sadly it doesn't. Anyone knows ...
0
votes
0
answers
12
views
Closing Lex chatbot window leaves shadow outline
I am integrating AWS Lex into my React website following this guide: https://aws.amazon.com/blogs/machine-learning/deploy-a-web-ui-for-your-chatbot/
For clarity, here is my Function Component on the ...
0
votes
0
answers
10
views
table pagination in nuxt js
i want to get totalpage dynamically my api returns total page in response header in "x-total-count = 50" but could not really figured it out how to get that variable to my frontend here is ...
1
vote
0
answers
23
views
Zod .refine() method doesn't enforce "one of two fields required" rule in Vue 3
I'm working on a Vite/Vue 3 project and using Zod for form validation. I have a form with these two fields :
descriptionActiEconomiques and noga
I need to enforce the rule that at least one of them ...
0
votes
0
answers
19
views
Managing Django CSRF Protection Flow Between Django and Vue
I'm using Django Rest Framework. In my login_view I created a csrf token and set it as cookie.
I examined the login response and I can see it is properly set as Set-Header token. Let me summarize my ...
-2
votes
0
answers
23
views
Most efficient stack for web & mobile app [closed]
I'm new to web development, and I'm trying to learn a stack to build a web app using a framework that can easily be adapted to mobile. I was thinking of React/React Native, but I read online that it’s ...
1
vote
1
answer
42
views
Tracking down the root cause of unexpected reactivity in Vue 3 components
I am currently working on a fairly simple Vue-3 app, but experiencing an issue I'm not sure how to find the root cause of. In my app I have a view which is being rendered via the router. This view has ...
0
votes
1
answer
11
views
vuejs app isn't running when using cdn: version 3
On my current laptop I don't have vuejs configuration hence I used cdn link yet the code isn't running
<html>
<head>
</head>
<body>
<script src="https://unpkg.com/vue@...
1
vote
2
answers
25
views
Vue - v-if not updating with onMounted
I'm simply trying to make a div only appear once a variable changes from false to true and I'm telling it to change the value once the component is mounted. However the v-if which is supposed to be ...