All Questions
Tagged with components vue.js
744 questions
0
votes
2
answers
46
views
Vue.js component doesn't render on slow internet
So I have a component, which needs to be shown on the last page of the book, sometimes it isn't showing, for couple of seconds, sometimes you need to list back on the previous page and back on the ...
0
votes
1
answer
71
views
What is ServerPlaceholder in Nuxt.js and how is it used?
I have been working with Nuxt.js and came across a term called ServerPlaceholder, but I am not entirely sure what it refers to. I couldn't find any official documentation or references to this term in ...
0
votes
0
answers
38
views
give tab focus() on a component when rendering in vue
I have button icon which is a separate component. I need to give the tab focus on this element after page is rendered. I am using Composition API in Vue 3. I tried adding ref to this component but it ...
0
votes
0
answers
305
views
Vue 3 app - memory consumption keeps going up
I'm facing a challenge in figuring out what's causing the Vue app to consume a lot of memory. There are detached elements in the heap snaps from unmounted components.
Here's the setup:
Vue 3.5.12
Vue-...
0
votes
0
answers
35
views
A Ruler component Made with vuejs is glitchy and markers appear and disappear
i was making a ruler component to use in a simple photo editing tool and i implemented the zooming part it is supposed to get more detailed when you zoom in like fractals and less detailed when you ...
0
votes
0
answers
46
views
Vue.js render time optimalization
I have a problem with optimalization in vue.js. I know my thinking is not perfect but i need to optimize part of application quick.
I have app looking like Pinterest. I have 1k cards to show, every ...
0
votes
0
answers
41
views
Getting Query Parameter before props in VueJS
I just want one help. Here I have AccountAdmin.vue file is there. In that file, I am requesting parameter from router.push. I got parameter in URL, but problem is that in props, parameter not set ...
1
vote
0
answers
32
views
How to make connection between a typescript file and a single file components in vue.js
i have a function in my single file components
function moveCircle(step: number) {
if (activeCircle.value < 2) {
activeCircle.value += step;
activeLine.value += step;
}
}
and i would ...
0
votes
0
answers
35
views
How to pass the result of a computed property to another component in Vue
I have been struggling since a few days to pass the result of a computed property to another component.
The computed property is defined in HomeView.vue, and I would like to insert the result of the ...
0
votes
1
answer
82
views
difference between vuejs local registration syntax
I found out there is two ways to make local registration in vuejs:
1) assigning components to a variable:
const components = { 'test-selector': TestSelector, };
2) declaring it as an object
...
0
votes
0
answers
33
views
Why I when i want clear description in object it cannot
<script setup>
import { TodoManager } from "../../../lib/TodoManger";
import { computed, reactive, ref, watch } from "vue";
import List from "./List.vue";
import ...
0
votes
1
answer
29
views
Why my delete animation not play before delete
<script setup>
import { computed, ref, watch } from "vue";
const emit = defineEmits(["delete-todo", "edit-todo"]);
const props = defineProps({
isSuccess: {
...
2
votes
1
answer
668
views
Use Vitepress components in my Vue.js application
I'm not building a documentation website, I'd just like to take advantage of Vitepress components to build my own regular Vue.js application.
I installed Vitepress npm i -D vitepress, imported vars, ...
0
votes
1
answer
60
views
Vuejs wysiwyg designer zoom issue
im having a problem with my project. Since the project is quite big, i wanted to share the code as-is so you can git clone the project.
https://github.com/erdesigns-eu/Vuejs-WYSIWYG
I will first ...
0
votes
0
answers
206
views
Adding styles to component defined using `defineComponent`
Is it possible to somehow add styles to a component I defined using the defineComponent function in Vue 3?
Let's use this as an example:
import { defineComponent, h } from "vue";
export ...