108,325 questions
1
vote
0
answers
15
views
globalProperties variables are not showing up in the Vue 3.5 template
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.ts
import i18n from &...
0
votes
0
answers
19
views
Vue 3 & Vuetify | Trouble getting content of Vuetify tab to scroll when there is overflow
I'm trying to get the content of a Vuetify tab to scroll without statically sizing the parent control.
Here is a Vuetify playground that contains the structure of my project:
Vuetify Playground
You ...
0
votes
0
answers
16
views
How to use Layouts in Nuxt 3 with a single [...slug].vue dynamic page?
Simplifying my code, I have this setup:
/components
/page
Type1.vue
Type2.vue
/pages
[...slug].vue
app.vue
where in [...slug].vue I have
<template>
<PageType1 v-if="page?....
0
votes
1
answer
23
views
how to get only the id, when using vue select
So I have a select from Vue Select, but what comes out is all object data, what I want is only the ID of the data, how can I get just the ID?
here is my code
const form = useForm({
name: '',
...
-1
votes
0
answers
20
views
Changing style on vue-flow nodes does not work on custom nodes
In my vue-flow graph I defined a node without source and target handlers.
<script setup lang="ts">
import type {NodeProps} from "@vue-flow/core";
defineProps<NodeProps>(...
0
votes
0
answers
26
views
Main chunk in Webpack references the wrong runtime chunk
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. ...
0
votes
0
answers
38
views
Why am I getting "ERR_CONNECTION_REFUSED" when querying by sidecar-hosted backend in Azure App Service?
I'm trying to deploy a fairly basic web app in Azure App Service. I have a backend image (running django+graphql) and and a frontend image (running vue+apollo), and when I run them locally either ...
0
votes
0
answers
44
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>
<...
-3
votes
0
answers
44
views
Why does the window move when the user makes a selection? [closed]
In our JavaScript Vue code we have a template that looks approximately like this:
<template>
<NiceDialog
ref="selectMenuBody"
closable
modal
v-model:visible="...
0
votes
0
answers
14
views
'./dist/bootstrap-vue-next.mjs?' does not provide an export named 'BootstrapVueNext'
In my laravel application after i installing npm install bootstrap bootstrap-vue-next
and updating the vite.config.js :
import { BootstrapVueNext } from 'bootstrap-vue-next';
import 'bootstrap/dist/...
0
votes
0
answers
38
views
Unable to properly set zoom level on different devices via OpenLayers
I have tried everything and can't seem to figure out how to properly set the zoom levels differently on map initialization and load for different devices. The goal is to have the "United States&...
0
votes
1
answer
33
views
Dynamic Alias Configuration in Quasar/Vite's extendViteConf Fails with Environment Variables
I'm working on a Quasar (v2) project using Vite (quasar cli) as the build tool, and I need to deploy multiple instances of nearly the same web application, each with different assets, images mostly. ...
1
vote
1
answer
23
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>
&...
0
votes
0
answers
42
views
How to use TypeScript transformers on Vue files
I use plugins to generate objects from types in my Quasar project. They work fine, but only on .ts files. All files with .vue extension (I use <script setup lang='ts'>) don't come to plugin's ...
0
votes
0
answers
40
views
Why my input validation function and mask for it are not working?
I have a problem. There is a parent component Form/index.vue , which contains an input for a phone number, it is linked to v-model. But for some reason, validating the mask using a function in the ...