I am new to Vue and I am working on a project in which I need to display different components based on a boolean value that shows whether a user is lo ...
I am new to Vue and I am working on a project in which I need to display different components based on a boolean value that shows whether a user is lo ...
While playing with Vue 3 reactivity I incountred a behaviour that I couldn't explain. I created a ref of a primitive. Checking isRef on it returns ob ...
The problem - I try to add type to computed but I have error: Overload 1 of 2, '(getter: ComputedGetter<AuthFormType>, debugOptions?: DebuggerOp ...
I am trying to access $axios in Vue composition API without using useContext() because the current app is not a Nuxt app and is like a library that ei ...
Objective I want to pass the path of an image as a prop to a component. I want the component to use the prop to dynamically generate the background i ...
I have this codes I am trying But I got What am I doing wrong, and, important, why? ...
I have a vue 3 script setup component (composition api), and another file (for printing) that has some logic I want to inject into my main component. ...
I want to implement dynamic menu with submenu items. For that purpose I have defined data object that have all menu items with respective submenus. ...
I am currently facing an issue where the <keep-alive> stops working after adding a :key to the parent <div>. This <div> and also the ...
I have exposed a custom attribute added to the Window object to the client browser via the onMounted hook of a child component. Since the component wa ...
I'm creating a component library with Vue 3 and the composition API. The component library will be loaded in a NuxtJS application as a plugin. What is ...
I'm using Vue 3 composition and Vuex this is axios config file http.js import axios from "axios"; import useStore from "@/stores/index.js"; const ...
I created a simple Page in Nuxt which would use a boolean variable to switch between a Detail component and a Form component. Data is fetched corre ...
I'm trying to mount a vue instance on a div that I'm creating on the fly on the main.js file: When I do this I'm getting this error value canno ...
I stumbled into a totally unexpected problem while refactoring my code to composition API: there doesn't seem to be any (documented) way of accessing ...
I'm using @nuxtjs/composition-api version 0.33.1 with Nuxt 2, and my component looks like this: import { defineComponent, useContext, useRoute, watch ...
I have a pill shape that say's either Production or Development. I want the background color to be different depending on if it is production or devel ...
I want to format my date-time outside the component. function transformDatetime(config, value) { if (value) { return $d(new Date(value), ...
I'm still new to VueJS, and I cannot figure this one out. I have a page that loads with axios from wordpress my posts: and the template This wo ...
In a vuejs app, I have a component that is loaded while waiting for reply from the api. It contains a simple blurred line (no props or events). I wan ...