Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

I have a component declared during Vue.createApp(). This component is for a result list and receives the result itself and that result's index in the array. Vue.createApp({ data(){ return { ...
tralmix's user avatar
  • 299
1 vote
0 answers
63 views

I have a list of vue 3 editor components, that I dynamically display based on the "page" the user is currently on. Currently they are stored in a Component[], but I would like to make sure: ...
ST-DDT's user avatar
  • 2,727
0 votes
0 answers
37 views

I've written a custom text rotator Vue component that does a marquee style rotation over a list of strings for use in the home page of a Vitepress Website. I want to use it in the hero.text field of ...
Scott Deerwester's user avatar
0 votes
0 answers
62 views

I’m working on a Laravel + Vue project and using Parsley.js for form validation. Parsley works fine for the built-in validators like data-parsley-required, data-parsley-pattern, and data-parsley-type....
Omnia eid's user avatar
0 votes
0 answers
75 views

I have been trying to create a dynamic grid using tanstack virtualized rows (the number of columns being tied to window width) The issue is that my rows expand in height due to window resize, but my ...
Andrew's user avatar
  • 1,119
0 votes
1 answer
57 views

Suppose a simple Vue.js component: <template> <RouterLink to="#">AAA</RouterLink> <RouterLink to="#">BBB</RouterLink> </template> I cannot ...
MaxPowers's user avatar
  • 5,529
1 vote
4 answers
184 views

I am trying to access the raw content of the default slot in Vue.js (3.5). However all I seem to be able to access, no matter what method I try, is the content all compressed into a single line. I ...
Majenko's user avatar
  • 1,869
0 votes
1 answer
40 views

I have a list of items each with a name and numerical ID. Each one I want to render as a component with a link to a page for that item. This requires me to have a <router-link> tag. I cannot ...
nxe's user avatar
  • 281
0 votes
1 answer
56 views

<template> <VueDatePicker v-model="deliveryTime" time-picker /> </template> <script setup> import { ref } from 'vue' const deliveryTime = ref(new Date())...
Sodium Chloride121's user avatar
2 votes
2 answers
358 views

I'm using ShadCN Vue with AutoForm and zod for schema validation. I'm trying to dynamically populate the select options for a field named accounts using an array of account objects. My code: <...
Ebraheem Al-hetari's user avatar
0 votes
0 answers
67 views

I am new to Trame and Vuetify. I need to show an image in the GUI. The GUI would run on a localhost. My MWE is given below: from trame.app import get_server from trame.widgets import html, vuetify, ...
skm's user avatar
  • 5,777
0 votes
0 answers
72 views

I have this component which I used in vue2 to render templates dynamically. But this stopped working in vue3. I have the code as below. import { defineComponent, h } from 'vue' import { } from '...
Abdul Kadir Khan's user avatar
0 votes
0 answers
66 views

I'm playing around with Vue Data Grid (AG Grid) and stumbled across a strange behavior wrt reactivity, exemplified by the following minimal component App (plain JS): <script setup> import {...
bisgardo's user avatar
  • 4,678
0 votes
2 answers
41 views

I'm trying to learn Vue and want to build a parent component of shopping list (my training excercise). The parent will manage the state and it contains two child components: 1) the table with products ...
Yorian's user avatar
  • 2,074
-1 votes
1 answer
67 views

I have a component Foo with the following contents: <Bar> <template #option="slotProps" v-if="$slots.option"> <slot name="option" v-bind="...
armandino's user avatar
  • 18.7k
0 votes
1 answer
49 views

I'm trying to automatically load components from a URL while parsing HTML templates, based on tag names. i.e. If an tag name ends with Component (like xxxComponent) this is a component which should be ...
user1243815's user avatar
1 vote
1 answer
941 views

I'm building a Vue 3 component library using Vite and Tailwind CSS, but I want to ensure that the final build only includes the Tailwind classes that are actually used in my components. Right now, the ...
Ebraheem Al-hetari's user avatar
0 votes
0 answers
20 views

I want to add an extension to VuePress to be able to make left indents for text. For this, I created a project pnpm create vuepress-theme-hope my-docs Added a plugin @vuepress/plugin-register-...
DmitryB's user avatar
  • 545
0 votes
1 answer
61 views

I have a basic question related to argument of a function. when emitting an event from a child to a parent or when triggering a click event, I've seen in somme cases the add of $event as a parameter ...
ftouh yaham's user avatar
0 votes
1 answer
108 views

I am trying to integrate Google Pay as a component in an application. I need to load the Google Pay Javascript file before I perform any actions. This is what I am doing: onMounted(()=>{ const ...
volume one's user avatar
  • 7,613
0 votes
1 answer
60 views

<template> <nav class="navbar navbar-expand-lg bg-body-tertiary"> <div class="container-fluid"> <router-link class="navbar-brand" ...
Kishan Bisht's user avatar
2 votes
2 answers
133 views

I have a Vue component that recursively generates a tree recursively with a <CustomTreeNode> component. It looks something like this: <template> <div> <div> <...
AR.'s user avatar
  • 40.4k
0 votes
0 answers
48 views

<template> <div class="container mt-5"> <div class="row"> <div class="col-md-4 mb-4" v-for="subject in subjects.subject&...
Kishan Bisht's user avatar
1 vote
1 answer
629 views

I have an application where one of its components is responsible for creating and managing a tree. Other components in this application sometimes need the tree data. One of the available solutions for ...
mohsen ahmadi's user avatar
1 vote
1 answer
57 views

I made a vue component (my first ever!) that aims to show suggestions for options as you type: const AutoCompleteComponent = { data() { return { open: false, ...
Tomáš Zato's user avatar
0 votes
1 answer
86 views

In my HomeView component I'm importing the AsideCTA component: <template> <TheHero /> <TheServices /> <TheBundles /> <AsideCTA title="Kontakta oss!" url=&...
crashdelta's user avatar
3 votes
1 answer
69 views

I’m working on a Vue.js component where I’m creating a flip animation with images that change every few seconds. The goal is to randomly change the image, but there is an issue during the transition. ...
mathbreaker's user avatar
1 vote
2 answers
343 views

I have a child component in Vue.js that gets passed a prop from the parent component. While the child component can read the prop, it can not write to the prop without throwing a TypeScript read-only ...
Eli Sterken's user avatar
2 votes
0 answers
81 views

I'm starting to implement a reusable Vue component library for in-house use on a team of 20+ developers across a couple of applications. A common pattern I have used in the past in Vue 2 is applying a ...
Kendall Spackman's user avatar
0 votes
1 answer
62 views

The toastmessages from PrimeVue ToastEventBus are added to the DOM but not displayed. Does anyone know why? Based on this answer I have the following in page. <!doctype html> <html lang="...
moxi's user avatar
  • 3
0 votes
1 answer
1k views

I've been experimenting with PrimeVue and am trying to understand how to use their forms. They don't have any example of clearing the form fields. However, there is mention of a "reset" ...
jreeves's user avatar
0 votes
0 answers
29 views

I have a Vue3 SPA that generates dashbaords and such. When I visit https://website.com/#/ it loads my app. I want to visit https://website.com/#/dynamic-img and have the response be a image/png media ...
clay's user avatar
  • 6,017
0 votes
0 answers
61 views

This is a follow up question to my previous question here Vue3 Carousel as ES module in Laravel blade template I am using Vue 3 Carousel as an ES module to separate my components buit I' Uncaught ...
AdRock's user avatar
  • 3,126
0 votes
0 answers
45 views

I am trying to integrate dynamic components inside my Vue 3 blog articles stored in MongoDB to reduce the work of specifying image details every time. However, the image component is not being ...
sofies's user avatar
  • 37
1 vote
1 answer
40 views

I have a vuetify select where I want to restrict the text when too many elements are selected. So I used conditional rendering to just display what I want: <v-col cols="auto"> <v-...
GniLudio's user avatar
1 vote
0 answers
130 views

Question Body: What are you trying to accomplish? I'm building a custom input component using Vue 3, Quasar, and Zod, with the goal of achieving both: Static type checking: Ensuring defineProps uses ...
Benson's user avatar
  • 11
2 votes
1 answer
75 views

Given Vue3 + Vuetify3 code: <template> <v-autocomplete :items="items" :value="selectedItem"> <template v-slot:item="data"> <v-tooltip> ...
Jamie.Sgro's user avatar
0 votes
0 answers
176 views

I’m encountering some issues with creating and exporting TypeScript types in my library. Specifically, I have several challenges: #1. Build Errors with Vite When I try to build the library using vite ...
Jesús Enrique's user avatar
-2 votes
1 answer
41 views

hi i am doing crud in vuetify 3 and for create form i am using v-dailog, i wanted to close v-dailog once form save data to server successfully. i have used composable to handle my all logics. let me ...
shazim ali's user avatar
1 vote
0 answers
91 views

I try the fireEvent to click outside or emitted 'update:modelValue' but the v-dailog element still visible. So how can I correctly simulate the closing behavior of v-dialog ? Thanks in advance for ...
laplacetw's user avatar
  • 104
0 votes
1 answer
22 views

I have the below Vue Component: // src/components/CodeBlock.vue <script setup> import { ref } from 'vue'; const props = defineProps({ value: String }) const text = ref(...
Mathew Paret's user avatar
0 votes
0 answers
526 views

I'm using Laravel 11 and Inertia.js with Vue to build a multi page web application. I use Coolify with nixpacks to deploy my application on a server. When making a request, the server always returns a ...
Matthias Vandersanden's user avatar
1 vote
1 answer
89 views

I have a checkbox form question component I made in Vue 2 and i'm migrating to Vue 3 so want to simplify it as much as possible and make sure i've taken advantage of all the new feature of Vue 3. ...
user2953989's user avatar
  • 3,039
-1 votes
1 answer
57 views

I dont know how to make a web router in vue because im a beginner, so in every tutorial, i see that they import router or vuerouter from 'vue-router' What i've already tried? i ran npm install vue-...
Jesús Fernández's user avatar
0 votes
0 answers
33 views

TL;DR: how are the priorities of Vue routes (global vs child) calculated? Quasar is a Vue framework that can bootstrap applications. I am trying to follow its suggested structure but I am not sure how ...
WoJ's user avatar
  • 30.6k
0 votes
1 answer
134 views

I'm using vue3 ComponentA.vue <template> <slot name="label"></slot> <slot></slot> </template> Simply using a template will work. <template> &...
korion's user avatar
  • 1
0 votes
1 answer
57 views

1. Project initialization with Vite.js pnpm create vite √ Project name: ... demo √ Select a framework: » Vue √ Select a variant: » Customize with create-vue ↗ $ Vue.js - The Progressive JavaScript ...
lril ho's user avatar
0 votes
1 answer
35 views

I have an application which needs to walk and display a directory structure similar to a filesystem. Below is an example of how this would work with a filesystem. App.vue <script setup> import ...
Ben Foltz's user avatar
0 votes
1 answer
79 views

I generated a new project using vue 2, then I wanted to apply local registration, but I"m getting compile errors the following shows the changes files: main.js import Vue from 'vue' import ...
nidhou gsm's user avatar
0 votes
0 answers
45 views

So I have an a component with composable, one of them is modal, so the modal is only the canvas, I just pass the slot to the body, but when I do a create data, the vuelidate is always failing even ...
cherno304's user avatar

1
2 3 4 5
214