Category "vue.js"

What does "hydration mismatch" mean in React or Vue?

While using both Vue and React, I regularly stumble upon so-called "hydration mismatches". What does it mean?

Vue 3 Composition API - How to get the component element ($el) on which component is mounted

I want to use onMounted to initiate third-party library. To do that I need the component element as its context. In Vue 2 I would get it with this.$el but not s

Refresh data table event after file upload

I am beginner web developer. I make my first project in Vue. I make form with files upload in vue 2 and laravel. My full code: View: https://pastebin.com/QFrBfF

Why dynamic component is not working in vue3?

Here is a working Vue2 example: <template> <div> <h1>O_o</h1> <component :is="name"/> <button @cli

Problems using Vee-Validate's <Field /> and Vue Multiselect

Hoping if some of you can help me, probably I'm gettings things wrong but I just can't make the Field component to get the output from the Multiselect element.

Vue element-ui table columns draggable

I'm using that for table now, but the header of the table is able to drag for now. How can I drag the table's columns? <el-table ref="tableRef" class="table-

How to use this.$refs in vue ts that error Vue | Element | Vue[] | Element[]

I need to use this.$refs.calendars.$refs.calendar.showPageRange() in js it work but in ts that error '$refs' does not exist on type 'Vue | Element | Vue[] | El

Trying to make equal height elements in Vue 3 / TypeScript / Quasar but it doesn't always work

In my Vue 3 / TypeScript / Quasar app I am trying to make all elements with a class of .plan-item have a matching height. To do this I am using the below code:

chunks file urls problem in laravel and vuejs

i am developing a web application with laravel and vue i deploy application in this route in host: https://novintech.info/panel anything is true but chunks f

Vuex/quasar - mutate state from firebase 9 on boot

I'm using quasar with firebase 9. I'm trying to set the state with actions during the boot of the project. I have data in firebase that I want to load only once

Vue 3 dynamic components at router level

Dynamic imports is needed for me, eg. i have 10 layouts, but user only visited 3 layouts, I should not import all of the layouts, since its consumed unnecessary

Vue CLI error creating new project (npm error)

Please help me on this. I can't create a new Vue CLI project. It previously works good! Now not working... Vue CLI v4.2.3 ✨ Creating project in /We

Ignore locale prefix for specific route in nuxt-i18n module

For all pages, I need the locale prefix. But for the profile page, I want to ignore it. All pages except profile /{en|da|sv}/path Profile page /peter.hansen I

How to use sass global variables from other components in vite/vue3

I want to use and change global variables from other components, my files structure looks like this... enter image description here I have my variables in globa

Vue js with laravel not geting api data and response

this is Vue js component please help me to get data in template. getting data from vue js api in console i got undefined. Not getting blogList Data please help

Focus event unit test doesn't works in Vuejs / Jest

I want to create a unit test for two events, on focus and on blur. I am using vueJS and jest. handleFocus(event) { if (this.blured === true)

Watch Vue 3 global variable for changes

I set a provider in my main.ts file: app.provide('currentPage','test1') And then inject it in a component Home.vue: inject: ['currentPage'], I then can update i

Is there a way to have a vue component whose template only contains the text of a property?

Is there a way to have a vue component which has a template area that only contains plain text? The problem I face with the current solution (using a div to wra

How to access vue router in Vuex store module actions with Quasar framework?

I am using Quasar Framework v2 Beta Vue 3 Composition Api Vuex 4 Typescript My problem: When I import router and try to redirect User in Vuex store module actio

Laravel Vuejs Uncaught (in promise) ChunkLoadError: Loading chunk blogs-component failed

I have a Laravel + Vuejs project and while everything works fine on local development, 2 pages are throwing the ChunkLoadError. I have looked at other issues on