Category "vue.js"

How do I use Vue3 with vue-jest?

I have the following dependency... "vue-jest": "latest", But when I run npm install I get... npm WARN ERESOLVE overriding peer dependency npm WARN Found: vue@3

how to add class and icon in route link Vuejs

I have a route-link vuejs : <router-link :to="{ name: 'user', params: { user: 123 }}">view</router-link> I want to add class : class="btn btn-prima

Set Footer Section at the bottom , VueJs

I have installed vue cli & added header & footer components in a vue page but they are coming one under another how i can place footer section in bottom

Pie charts disappear when changing the window size

Good day, I am using the Pie Charts from Apex. However, when I switch to responsive or reduce/enlarge the browser window, the charts disappear and come back onl

Replace nested array for new array

I have an array inside another array: Structure: First Array [ { Second Array [ { } ] } ] So I want to replace all Second Array for new array t

Vuetify v-select component width changing

My v-select components should have a fixed width (60px), they fit in a table cell, and I want to prevent them from changing the width after value selected. They

What does the "percentage sign" mean in the Vue.js source code

I am reading Vue.js's source code(here) on github and stumbled upon something both I don't know and can't find an answer. A related part from the source: expo

Multiple forms with one submit() method by Vue

I have a few forms. Every of them have the same logic (validation, sending...) so, I want to create one method to control actions on my forms. For now my code i

What is <router-view :key="$route.fullPath">?

I'm completely new to Vue.js and I think I have a bit of understanding of how a router works with things like: <router-link to="/"> But I am not really u

Is there a way to Hot Reload my Vue Page after changing an Environment Variable in VueJS?

I want to have different modes for my application, so I created different .env files to store my environment variables. Using these variables works fine, the on

Get Value from <ion-input> in function using Vue.js

Can someone tell how I can get the Value of an Input field in an Ionic Vue Application. I've tried the following way, but I get an error saying "this.inputEAN i

Username validation using regex

I am trying to validate the Username field in Vue using regex. I have a key down event on the textbox and on each key down the below method is called userNameVa

V-model and TinyMCE doesn't work together

I'm trying to get Vuejs and TinyMCE to work together. I use @tinymce/tinymce-vue package which is the vue integration for TinyMCE. I had followed all the instru

Some classes have no effect after adding Tailwind.css to a Vue.js project

I am trying to add Tailwind.css to a Vue.js project. There are a lot of resources on how to do this, most of them following the same path as this video. To make

Best way to handle Vuetify v-menu

I am new to the Vue.js and recently we started building my product in Vue and Vuetify. I had written a custom component around the v-menu and using that as a po

Random "Assertion failed" errors on Apple M1 chip

I have just switched from Windows 10 to Mac OS running on the latest Apple M1 Silicon. This is my first project on the Mac, I installed homebrew and used it to

Activate method on router link click in Vue

I am working on account removal on a Chrome extension and I have the following button: <button @click="remove" id="button_remove" class="btn btn-default" sty

Call a function from another component using composition API

Below is a code for a header and a body (different components). How do you call the continue function of the component 2 and pass a parameter when you are insid

Vue: mounted changed value not passed to component

This is my Vue main file: export default { name: 'app', components: { FormSelector, }, data () { return { headerInf

How to automatically print instead of download using vue-html2pdf

I am currently using this package to generate a pdf for my component, does anyone have any ideas on how to get it automatically open the print dialog instead of