SetTimeout() not working called from vueJS method

I am trying to allow a user to reset or shutdown a given server from an app. Im working on the interface right now, and want to give the user messages as to what is happening. I display a message ...

Change element prop in runtime

I have a chart component, and my job is to make a button to change it's type (eg. columns to pie), but i don't know how to change it on a button click event. Here's the structure of the component (the ...

Can't add directive as plugin in Nuxt application

I'm trying to incorporate the Ripple package into my Nuxt application. Following Nuxt docs and the package docs example I have a ripple.js file in plugins/ directory containing this: import Vue ...

How to access Vuex map helpers with Composition API

I am using Composition API in Vue2. Can you tell me how to access mapState with composition API? I want to watch for state changes as well. Hence I would have to use it within setup function as well (...

How to save text and image in Vuejs

I currently have an tool to set up which allows the user to upload an image, and then place custom text over it which displays and is editable in the browser. My question is, using VueJS, is it ...

Vue2 with typescript : unit test with jest

I'm running vue2 app (class component) with node 14.16.0 and I want to create unit tests to it using jest I installed jest 26, babel-jest 26.6.3, ts-jest 26.4.2, vue-jest 4.0.1 and @types/jest 27.0.3. ...

How can I use data in css with Vue?

I want to design a button component with Vue. When I get main props, how can I get in css --mainColor variable without setting inline-style? thanks. <script> import Vue from "vue"; ...

Yarn run error cross-env NODE_ENV=development

I am using Laravel and Vue and when I run yarn run dev get this error errorImg I try rm -rf node_modules rm package-lock.json yarn.lock yarn cache clean yarn add cross-env but not work): what should ...

Vue Directive Reactivity value

I am using a custom v-directive "v-clip" and it requires a value. In my case i want to use 'data binding'. Which means the value for v-clip can change on the fly from other interactions on ...

Table Height sizing and lines format

Pardon my novice for I am just a mere beginner. I know this is a simple problem, but nevertheless, I am struggling. I am looking to change the size and style of the table that is shown in code below. ...

Cannot use Options API in Vue 3 with Webpack

I have a question about the Options API in Vue 3 which might be specific to my implementation with Webpack 5. From the docs and articles it seems that in Vue 3 you can use both the 'old' Options API ...