All Questions
8,425 questions
1
vote
0
answers
29
views
globalProperties variables are not showing up in the Vue 3.5 template
IDE: Webstorm 2024.1.5
My app on Vue 3.5.13, Vite, Typescript. I have plugin
export default {
install: (app: App) => {
app.config.globalProperties.$i18n = useI18n;
},
};
I plug it in main....
0
votes
0
answers
45
views
Inherit a Component and "Append" Content to Its Slot
Does Vue 3 support something like this? the super() part
(The situation is that I can't modify the base component, but I want to extend it with extra content.)
ComponentA.vue
<template>
<...
1
vote
1
answer
24
views
Vuetify when dialog opened from menu item. Dialog opened, but menu still appear
<template>
<v-menu>
<template v-slot:activator="{ props }">
<v-btn color="primary" v-bind="props"> Activator slot </v-btn>
&...
-1
votes
0
answers
24
views
Select nodes with empty children array in v-TreeView
I am using load-children property & setting children array to required array only when drop down is clicked. Using this because TreeView is breaking when large data is passed. But when I click a ...
0
votes
1
answer
24
views
How to show unique data between two v-combobox
Right now I am using Vuetify 3 data table and v-combobox. In the data table I have two v-combobox who use same data for display and multiple select. Now what I want is when I select a value in the ...
0
votes
0
answers
43
views
How to render dynamic templates in Vue3
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 '...
0
votes
1
answer
32
views
How to display static pdf url with vue-pdf-embed library on production
I have a Dialog in my vue project to display a PDF file. This is how the parent component handles the PDF file.
async function openDialog(index: number) {
isLoading.value = true;
const ...
-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
...
-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
46
views
Vue 3: Uncaught ReferenceError: process is not defined
I have created a brand new, clean, Vue 3 application using vue create <PROJECT NAME>. I haven't customized anything yet, but when I run npm run serve and view the URL with the browser, I get a ...
0
votes
0
answers
41
views
Why does update in parent component establish reactivity with AG grid?
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 {...
0
votes
2
answers
68
views
Vue 3 + Pinia: Issues loading store data into input fields
"I'm trying to fetch data from my Pinia store and use it as values within my input fields.
The goal is to use the same component for both displaying and modifying the data.
Every time I try to ...
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);...
0
votes
2
answers
52
views
Submit a form with table rows with Vue and Inertia
Using Vue.jsm inertiaJS and Laravel.
I have a VueJS Js page on which i have a form with a table which has multiple rows. I fill each input field on those rows with data coming from the backend.
So, ...
0
votes
1
answer
36
views
Vue 3 routing Issue
I’ve been stuck on this for a while. The problem is that when I click on something like the gallery link, the URL in the browser updates, but the page itself doesn’t change
Defualt URL page = http://...