All Questions
340
questions
0
votes
0
answers
30
views
Vue modal won't show but load perfectly fine in the web page
I'm trying to create a modal with Vue to display some information of a post so i created a component Modal.vue and loaded into the page that list all the posts, and when you click on a post you should ...
0
votes
1
answer
42
views
Is it possible to create a hidden tab on a browser?
I'm creating an SPA in Vue3 that requires a WebSocket to be open at all times to access database variables to the Client. I was wondering, maybe I could hide a WebSocket connection inside an invisible ...
-2
votes
1
answer
42
views
How to save a file from HTML selector to CPanel storage for VueJS
I am trying to save a file from html file input to my cloudPanel storage so i can retrieve it later if needed via html . I have tried searching for answers but they don't work, as in, the console ...
2
votes
3
answers
73
views
Picture isn't changing dynamically with light on/off button on website
I'm trying to change a picture (daytime picture vs nighttime picture) dynamically when a person hits the light button. It works, but I have to refresh the page for the picture to show. Daytime and ...
0
votes
2
answers
34
views
HTML Input pattern attribute is not working in Vue 3 as expected
I have a simple form in my Vue 3 app as below,
<form @submit.prevent="createProject">
<div class="my-3">
<label for="name" class="form-label"&...
0
votes
2
answers
42
views
Cannot render recursive component using Vue3 CDN
I want to build project with Vue3 CDN (because project environment cannot run npm) so I try to create component with html+CDN.
But when I try to create recursive component, It just render top-level ...
0
votes
1
answer
63
views
How to use SVG from file with multiple SVGs by ID selector with ::before
Core problem:
I am using a third party library where I can only set text (no HTML or JS) as a label, but I want to add an icon before the text. The icon is part of an svg file that contains multiple ...
1
vote
1
answer
15
views
How to get the target of a function call when its in the {{ }} notation vuejs
When using v-on, its possible to get the source of the event with the $event notation which then allows me to manipulate the html tag. For example:
<button @click="test($event.target)">...
0
votes
0
answers
36
views
Converting Html to vue 3 , some js is not working like swiper
My banner slider is working, but it only displays the background images and not the tag or text that I added. The banner section is visible in the inspect elements but not displaying on the page.
...
0
votes
0
answers
58
views
eslint will format <template> content within .vue file but not <script> content
I tried to add eslint support to my first vuejs3 project (after initially not checking eslint support during npm create vue@latest).
I basically tried to follow the docs:
Im using VSCode. With the ...
0
votes
1
answer
34
views
VueJS HTML page not rendering after deploying on Firebase hosting
I have a problem with my website (SPA built in Vue3). I have this page, which shows some infos about privacy, data management and so on.
<template>
<div class="gdpr-outer">
...
1
vote
1
answer
50
views
VUE 3 Transitions on Custom Component not working for some reason
I’m making a web app with Vue 3 , in the menu, each menu button loads a component.
My intention is that every time a component loads it should have a transition. The problem is, it seems to just not ...
0
votes
1
answer
57
views
add icon into select tag and add action to this icon
I´m traying to do a "preview action" in my component vuejs 3.
To do this, i´m trying with:
<select class="selectpicker">
<option @click='prueba($event)' data-content=&...
2
votes
1
answer
132
views
Vue Quill css is only applied to my first Quill Editor component + how to customize the toolbar
I am facing a strange CSS problem with the vue-quill package. Within my project, I have comments, and each comment has its own quill editor to answer the comment. For debugging purpose, I have changed ...
0
votes
0
answers
41
views
How do I render Vue components inside an HTML 5 canvas?
At the moment, I am working on a Vue 3 (Composition API) + Typescript. This project is supposed to simulate a football game. I use an HTML 5 canvas to draw the field, the lines and the ball. However, ...