Here is a working Vue2 example: <template> <div> <h1>O_o</h1> <component :is="name"/> <button @cli
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
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
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
Options API: <script> import { defineComponent } from 'vue' export default defineComponent({ name: 'CustomName', // 👈 inheritAttrs: f
Does someone know, how to configure a el-date-picker in element-plus to set the first day of week. The docs say it configurable via day.js but not to use config
I got an error message: Uncaught TypeError: 'set' on proxy: trap returned falsish for property 'NewTodo' That error appear when im trying to reset the input tex
I want to get the dimensions of a vue.js component from the parent (I'm working with the experimental script setup). When I use the ref inside a component, it w
I'm trying to do a question answer catalogue that lets me pick questions with their respective answer options from a String Array, however when I try to assign
I wrote a "loading state" mixin for Vue 2: export default { props: { loading: { type: Boolean, default: false }, }, data () { retu
I am creating Vue app with vue3 and using the bootstrap-vue3 package for Frontend. I followed Bootstrap-Vue docs and copied the following code but Carousel does
I'm trying to add lazy e-mail unique validator to my registration form. It works but when i type something in other fields (including e-mail field also) unique
I have this component (vue3+ts) <q-input type="number" filled model-value="Model.Code" @update:model-value="val=>console.log(val)" />
i am on Vue3, and i try to catch a value from the child to the parent. So my code is : On the parent : <template> <input-form v-model="valueSuperfici
I have more than 3 q-cards in quasar that should display more text when the read more button is pressed, but this does it in all the cards and I need it to be i
I am getting a strange error from Leaflet in a Vue.js project (version 3). If I close a popup and zoom in/out, this error occurs on Firefox: Uncaught TypeError
how can I clean my console from the following error: TypeError: ref.value is null The error comes only with a resize event. Each time I resize the window, I re
I'm trying to use a property of my data in a computed method like this: data() { return { ToDoItems: [ { id: uniqueId("todo-"), label: "Learn
I am writing an application in vuejs and i want to pass prop to a child component but I am getting this error: Getting a value from the props in root scope of
I already have an application built with spring boot/thymeleaf as a template engine and everything is working fine, now I need to add new section to the applica