Category "vue.js"

Inject CSS styles inside of the shadow-root instead of the head tag | Vue.js & Webpack

I'm making an embeddable widget for websites using Vue.js and vue-custom-element. Everything was going smoothly until I ran into a problem. When I'm trying to u

I got No 'Access-Control-Allow-Origin' header is present on the requested resource error

Making request from @vue/cli 4.5.8 app to my laravel ( Laravel Framework 8.24.0 with hosting http://local-backend-currencies.com ) backendpoint app I got error

Save selected values of input despite switching between two components in VUEJS

So I have two components that are imported into my app.vue: <script> import Leaderboard from "./components/Comp1.vue"; import Search from "./components/Co

Save selected values of input despite switching between two components in VUEJS

So I have two components that are imported into my app.vue: <script> import Leaderboard from "./components/Comp1.vue"; import Search from "./components/Co

How to `emit` event out of `setup` method in vue3?

I know I can call the emit method from the setup method, but is there any way to emit event from any other functions without passing the emit method from setup

Correctly redirect to another page with inertia?

I"m trying to redirect on click to another page, for some reason it's not working. This is the code on my vue where the redirect buttons are. I've tried two dif

Grouping an Array by an Object in The Arrays Object -> Vue Storefront

Im new at VueSTorefront and i have a Problem at my Project. I want to Display the Products in the Cart in an Accordion gruped by their type. For this i want to

How do you type hint Vue props with typescript interfaces?

Really hitting my head against a wall on this one. I remember working in Angular that TS interfaces can be used to type hint parameters. I'd like to do the sa

Why npm doesn't see quasar?

I installed quasar with a command: npm install -g @quasar/cli Then I tried to create an app folder already with quasar: quasar create callapp The console is

Can you compile a TS file with webpack separately from Vue application?

So I have a Vue 3 + Typescript app. npm run build of course takes the app and compiles it into the dist folder so it can be deployed. I have a web worker typesc

Why npm doesn't see quasar?

I installed quasar with a command: npm install -g @quasar/cli Then I tried to create an app folder already with quasar: quasar create callapp The console is

How can I call apollo client conditionally in my vue template script?

I pass a query to apollo client in my script tag, in my template file but I don't want to do it every time. Rather, I'd like to pass a boolean in a prop and the

error:0308010C with nuxt JavaScript after usingg legacy provider

I try to install vendure e-commerce and when I run yarn dev in vsf-vendure directory who operates the front page for the store I got error Error: error:0308010C

Vue.js: Getting data from the api and passing it to a child component (simple example)

I want to make an ajax request using axios package on the parent component and pass the returned array to a child component so that it can iterate the array an

How to send data via HTTP request to Firestore database

So, I am trying to make an app with Node.js, Vue, and Firebase. I currently have a very basic function using firebase functions to send data to the realtime dat

How to solve this error: "internal/modules/cjs/loader.js:638 throw err; ^"

I want to run my Vue.js using npm on localhost:8080 but they give me this error. Is there a way to solve this issue? This error only occurs when I tried to inst

Vue.js How to make a select with timeZones

I want to have a select with Vue.js because I want to be able to select de different timeZones of the world My first question would be: What is the best library

Vuetify - tabs with vue components

I'm working on some web design with vue.js and vuetify and has run into issues when trying to show vue components inside a vuetify v-tab. I have the following

Using a method with v-model in vue

I have a question about using vue's v-model with a method instead of computed. I know we can't exactly do that based on what I see here: How to bind a v-model w

Enter with @keyup event not working in Vue

I am trying to call method on pressing enter key but it's not working. Code is as below. <template> <div> <button @click="callEvent" @keyu