Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
71 views

I am trying to populate a USelectMenu and set a default value. However the control shows the id and not the label: This is my code: <template> <div class="p-8"> <h1 ...
Thomas Segato's user avatar
1 vote
1 answer
60 views

I have a page that inherits from a base template (GuestLayout) GuestLayout <script> import Toast from '../Components/Toast.vue' export default { components: { Toast }, data()...
Ohranj's user avatar
  • 13
0 votes
1 answer
41 views

So having a look at the documentation we see that when a Vuetify Datepicker component raises the update:modelValue event it passes a value of type [unknown]. My own component is working with Date | ...
baitendbidz's user avatar
  • 1,009
-1 votes
2 answers
56 views

I have a moderately complex set of containers displayed conditionally: <div v-for="activity in allActivities" :key="activity.id"> <div v-if="something(activity)&...
WoJ's user avatar
  • 30.6k
0 votes
2 answers
186 views

In an existing web app written in Vue and PHP, we are trying to add a Micro Frontend using Module Federation. After we configured the app, I found out that the watch command wasn't working correctly. ...
Giorgio Tempesta's user avatar
104 votes
28 answers
173k views

When I run npm run dev on a Laravel Spark v4.0.9 app, I get the following error: Module build failed: Error: Vue packages version mismatch: - [email protected] - [email protected] This may cause ...
Nate Ritter's user avatar
  • 2,486
76 votes
5 answers
93k views

I have a button When I clicked on COPY copyImageLinkText({ mouseenter, mouseleave }, e) { this.showCopiedText = !this.showCopiedText navigator.clipboard.writeText(this.imageLink) clearTimeout(...
code-8's user avatar
  • 59.5k
117 votes
12 answers
184k views

Can I wrap or enclose a router-link tag in a button tag? When I press the button, I want it to route me to the desired page.
Kushagra Agarwal's user avatar
112 votes
9 answers
133k views

I have been reading lots of articles about this, and it seems that there are multiple ways to do this with many authors advising against some implementations. To make this simple I have created a ...
user1525612's user avatar
  • 2,042
195 votes
6 answers
597k views

I have a combobox and want to do something different based on the selected combobox. I use a separate vue.html and TypeScript file. Here's my code: <select name="LeaveType" @change="...
hphp's user avatar
  • 2,322
0 votes
1 answer
56 views

I have "inherited" a piece of code from a chat application. I would like to add some custom checks on the user input upon submission, allowing the submit to be aborted on client side if ...
Xosted's user avatar
  • 331
72 votes
8 answers
94k views

I need to update a reactive object with some data after fetching: setup(){ const formData = reactive({}) onMounted(() => { fetchData().then((data) => { if (data) { ...
claud.io's user avatar
  • 1,983
1 vote
1 answer
51 views

Need to provide the HTML5 mode for Vue frontend and Express backend. Client: import { createApp as createVueApplication } from "vue"; import { createRouter, createWebHistory, type ...
Takeshi Tokugawa YD's user avatar
0 votes
2 answers
51 views

In a TypeScript-based vue.js 3 app, some values are provided as part of the initialization. Those values are automatically set to the props variable by vue.js. As those values can be updated by an ...
alik's user avatar
  • 2,383
0 votes
0 answers
66 views

I am using ion modal with breakpoints so it has handle and I can resize it. Good State #1 Good State #2 Here in this picture you can see the correct thing: And also when I click submit it is correct ...
Peter Plevko's user avatar
45 votes
13 answers
112k views

I have written a validation class and want to include it in my VueJS 3 project. Unfortunately I get the following error: SyntaxError: ambiguous indirect export: default This is my code: // ..classes/...
Maik Lowrey's user avatar
  • 17.8k
148 votes
14 answers
197k views

Currently I have to watch a few properties. And if each of them changes, I have to invoke the same function: export default{ // ...... rest of code watch: { propa: function(after,before) { ...
rahulserver's user avatar
  • 11.3k
0 votes
0 answers
36 views

I am using Vue 2 in my application, and the TRichSelect component from the VueTailwind library is not reactive when I populate the v-model variable through an internal function. It works correctly ...
Eriberto Zaccara's user avatar
105 votes
8 answers
136k views

Just like the title says, related Links: New script setup (without ref sugar) <template> <TopNavbar title="room" /> <div> {{ no }} </div> </template> ...
Molingran's user avatar
  • 1,232
220 votes
3 answers
120k views

I need to route to a certain component in two ways - one with a param, one without. I have searched for optional params and somehow can't find much info. So my route: { path: '/offers/:member', ...
yoyoma's user avatar
  • 3,546
120 votes
8 answers
65k views

I wanted to set title to my webpage created with vue cli 3 and thus looked into public/index.html. There, I found <title><%= htmlWebpackPlugin.options.title %></title>. How do I set ...
Mayank Kumar Chaudhari's user avatar
68 votes
10 answers
152k views

I am new to vue and jest testing, and I keep getting this error when running a specific test. I understand this is a general error, but I am unsure how to drill down and figure out what is wrong. Here ...
Samantha's user avatar
  • 1,029
0 votes
0 answers
35 views

I have a page rendered using Vue, as part of an SPA app. In that page there is a header with an id element, but if I try to navigate to it, either as direct URL or a link in the page then no ...
Andre M's user avatar
  • 7,718
79 votes
6 answers
86k views

How can I solve this warning when creating laravel project? Steps to replicate: composer create-project --prefer-dist laravel/laravel example cd example composer require laravel/ui php artisan ui vue ...
rhemmuuu's user avatar
  • 1,209
45 votes
5 answers
175k views

I need help with my NuxtJS application. I recently had ESLint conflicts in the app after I left it for some time without updating (2 months). So after I started working on it, it presented a challenge ...
Romanric Akam's user avatar

1
3 4
5
6 7
2163