Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
11 views

[Vue warn]: Failed to resolve component and tsconfig erros

Basically, I created a component called "SelecionarIngredients" and I am exporting it to the component "ConteudoPrincipal". However, the browser throws a Vue warn error saying it ...
Samuel Rodrigues's user avatar
0 votes
0 answers
23 views

Resolve cors error for Nuxt 3, for embedded app making request in project

CORS ERROR I have an issue in my project, I understand the error, as well as I tried to find answer for it but no luck so far. Here is my scenario: I have nuxt 3 app, where I am embedding one of the ...
Nexo's user avatar
  • 2,291
0 votes
0 answers
17 views

Vue3 Typescript Sum all values of a column in an array

I'm still very new to this programming language and I'm trying to take an array column and sum its values so I can show a total amount on the webpage. Question #1 I was attempting to use a computed ...
Handsome.Paul's user avatar
0 votes
1 answer
17 views

How to build a Vue web component which reflects an internal state as an attribute?

I am building a web component input which looks like this with Vue 3: <my-input value="Search"></my-input> How can I make sure that the value attribute is always equivalent to ...
leonheess's user avatar
  • 19.9k
0 votes
1 answer
32 views

Vue 3 and Vitest focus input sets document.activeElement to HTMLBodyElement in test in composition API

Given a Vue 3 component <template> <input id="input" type="text" @focus="handleOnFocus($event)" /> </template> <script setup type="ts">...
mummybot's user avatar
  • 2,750
0 votes
1 answer
28 views

"if regex.test" doesn't works properly on javascript vuejs router [duplicate]

const router = createRouter({ history: createWebHistory(), routes, }); // ... const allowedToAnonymous = [ /^\/login$/g, /^\/signup$/g, /^\/home$/g, /^\/emailconfirm\/[0-9a-zA-Z]{8}$/g, ...
Jeong Hansol's user avatar
0 votes
1 answer
32 views

Transition Issue with Layout in Nuxt 3

I am facing an issue with route transitions when conditionally disabling layouts on specific pages. I have a <NuxtPage /> in app.vue wrapped in default <NuxtLayout />, which contains a ...
Michael's user avatar
  • 319
0 votes
1 answer
49 views

How to show data in Vue JS without click paging

I have an issue when I want to show data in VueJS. Previously I have successfully displayed "User Online" data, but the problem is why do I have to click on the page if I want to display the ...
veby91's user avatar
  • 63
0 votes
1 answer
20 views

Vuelidate: Validate object with dynamic keys

I have a Vue form that contains a variable-length record with a language code as key and an object with a repeating structure as value. const form = reactive({ record: { en: {foo: 'bar' }, ...
Eddi's user avatar
  • 812
0 votes
1 answer
27 views

VUE can not display Chinese

I want to show Chinese in VUE, so I set utf-8 in index.html However, when I finish coding and enter "npm run dev" to run this web app there is still messy string on browser Why does utf-8 ...
Anéeka's user avatar
  • 41
0 votes
1 answer
54 views

vuejs @input is getting called only after onfocusout, i want to call it when user is typing

i am trying to use @input on input field in vuejs, but the function assigned to it gets called only after user has stopped typing and the focus is out of the input field, that means it is getting ...
Anonymous's user avatar
0 votes
1 answer
25 views

How to include highcharts in Nuxt 3.7.0?

How can I include this combination graph https://www.highcharts.com/demo/highcharts/combo-dual-axes chart in my nuxt vue application ? I followed this https://www.npmjs.com/package/highcharts-vue docs,...
Rancha124's user avatar
0 votes
0 answers
35 views

How to create a standalone embeddable script from an internal Vue component?

I have a Vue application, and within, I have a component, which I reuse throughout the app. It's located in src/components. I'd now like to make it so this component can be embedded into other ...
CentoKili53's user avatar
0 votes
0 answers
28 views

Implementing SwiperJs Thumb Gallery In Nuxt 3

I'm working on a Nuxt 3 project and trying to implement a SwiperJS thumbs gallery - https://swiperjs.com/demos#thumbs-gallery. I want the thumbnails to synchronize with the main slider so that ...
Michael's user avatar
  • 319
-1 votes
1 answer
42 views

Vuejs guard router failed with infinite loop

Hellop, I have a vue3 app consume laravel 11 api, I want to develop a router guard to redirect unauthenticated users to the login page. When the Laravel server is not running, the code works and ...
MAHA OUEGHLANI's user avatar

15 30 50 per page
1
2 3 4 5
549