Skip to main content

All Questions

Tagged with
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-...
Wolfgang's user avatar
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 ...
Bartłomiej Wiśniewski's user avatar
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 ...
kanboula belagh's user avatar
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 ...
eXXecutor's user avatar
  • 101
1 vote
1 answer
386 views

Vuejs: Should I split views into small components?

I have a project that has 2 folders for components - 1) src/components/ and 2) src/views. In the first one I store general components such as a drawer or nav, and in the second I store pages (views). ...
Michael's user avatar
  • 503
0 votes
2 answers
109 views

How to ensure changes in props do not bubble up?

I realized that my props passed to a component, and changed in the component, may bubble up. This is mentioned in the documentation. When objects and arrays are passed as props, while the child ...
WoJ's user avatar
  • 30.2k
0 votes
1 answer
1k views

Vue.js showing and hiding component on click

I'm trying to show/hide an element on click, I've tried many things but I don't think I'm setting up my methods properly. Here's my Main.js import './assets/main.css' import home from '../src/pages/...
tatehemington's user avatar
0 votes
2 answers
81 views

Vue3: How do I access a function inside the methods attribute from a component's setup() method?

I have an array containing data of questions that will be displayed. Only one question must be displayed at a time. Once the user selects an answer to a question, they can move to the next one by, ...
sweet-pineapple's user avatar
0 votes
1 answer
480 views

How do I pass custom props to dynamic components in Vue 3?

I have an array containing data of questions that will be displayed. Only one question must be displayed at a time. Once the user selects an answer to a question, they can move to the next one by the ...
sweet-pineapple's user avatar
0 votes
1 answer
493 views

Image carousel in Vue.js

I'm building a cinema website, and are currently on the part where I want to place the movies in a carousel like effect so that you can swipe through the row. As you can see on like Netflix or Diseny ...
Melvin Kempe's user avatar
0 votes
1 answer
1k views

Vue3 Component "OnMounted" Refresh

I have a Vue3 Dynamic Component wrapped in <keep-alive> that essentially adds navigation within a PrimeVue <Dialog>, and is populated by an object: const component = [ { id: 0, ...
guyman's user avatar
  • 207
3 votes
1 answer
4k views

How to handle slots in Vue3 & Storybook 7

I am trying to pass in a component (UIButton) as a slot in another component (UICard) in ButtonAsSlot story. In the ButtonAsSlot story, I am passing default: '<UIButton v-bind="{type: \'button\...
user16589580's user avatar
1 vote
1 answer
390 views

Vue3 / How to pass data from mixin setup() to component

I would like to pass my object based on JavaScript class from mixin to component without reactivity. I use TypeScript, so I can't set the object to this of mixin without setting types in data(). But ...
Roman's user avatar
  • 35
0 votes
1 answer
817 views

VUE3 pass data between files

In Home.vue I get data from db.json and store it into jobs: [] array. export default { name: 'Home', data() { return { jobs: [], } }, components: { }, mounted() { ...
kevx's user avatar
  • 89
1 vote
2 answers
1k views

Vue3 - Ref in component?

I'm making input component for my login form instead of creating input tag every time that I need it. However, I want to save the input value at @input event, thing that's I've made before (when I ...
Soon's user avatar
  • 67

15 30 50 per page