Skip to content
Advertisement

Tag: vue.js

Chunk file upload with axios

I encountered a problem and was hopeing someone could help me. I need to realize file chunk upload with axios, and I need to send the chunks to my server one after the other. So new axios request should happen after the previous one is completed. Now, requests are not sent in order. my code is below: Answer Use the

Vue bindings and CSS in HTML does not work

I am trying to display vue within an HTML. It worked properly with the vue cli but now that I am trying to integrate it in a bare HTML file, CSS doesn’t work properly anymore. It might as well has to do with the bindings of vue since the shown bar should repeat three time, but is only shown once.

Vue communcation between child to parent to another child

I got a <payment-child-component> which handles all the subscriptions and payments, i also have another <check-active-child-component> I want these two components to communicate. persay in the <payment-component> a user cancel’s his subscription i want to fire a method i have in <check-active-component> which called checkActive() So from payment-component emits to parent-component when the subscription cancel method is triggered and then

VUE JS passing object to children after mounted

I have three vue components. One is the page listing, it includes a filter and a list. When the page listing component is rendering, it needs to parse some JSON and passing that object into the filter component. Where I see that there is a problem is that the mounted script is running after the filter component has been rendered,

VueJS 3 – substr / truncation in template / v-for?

I’m pretty new to VueJS and have an understanding problem i couldn’t find any help for. Its pretty simple: I’m getting a JSON through an API with axios. This item contains a description that I want to output on the page. My code looks something like this: It works fine so far. The problem is that the item.description has too

Vue3 use v-model in Child Components

I just found out that in Vue3, v-model is not working responsively / reactively with child Component. This code will update the username data If I type something in the input, the username data will change too. But, when I use Component like this example: Then I updated my code to use the Component. Note: The Component is registered successfully.

VueJS CDN import error. Uncaught TypeError. Vue Component is not a function

I’m trying to run this Reddit clone. I imported different types of Vue CDNs, <script src=”https://unpkg.com/vue@next”></script> I’m not sure if I’m importing the wrong version of Vue, or if I have the wrong settings on jsfiddle. Full code here: https://jsfiddle.net/jm0vs2kn/22/ Answer Your script is pointing on the Vue version 3 @next which has some breaking changes in global API, to

Advertisement