Skip to content
Advertisement

Tag: vuejs2

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

Calling a parent function from a child component raises an error in Vue.js

I have a navigation drawer child component inside my parent component. MainComponent.vue Now, in the child component (Navigation drawer), I tried to call a function from the MainComponent by doing: I have a similar parent-child component that calls a function from parent to child, but I don’t know why this one gives me an error saying: TypeError: this.$parent._appendUseris not a

How to get File type object from url (image) in vuejs

I do have an image url lets say http://localhost/sample.jpg. i want to save this image url into a File object type as my component created. how can i achieve this with native js api? Answer One of the simple ways to do this is using fetch. After you have blob you can convert it to file. See How to convert

Using external Vue component after build

I’m trying to make a website with plugins, the admin panel is all Vue.js, and I want the plugin to be an external component (Rating.vue, AdsConnect.vue), how I can do that, and is that possible? I think that the Eval function can help me, but I really don’t know; and, in case I can’t use external components, can I use

JHipster Entities Menu is Empty after succeed import-jdl

I have just installed JHipster (VueJS) thru docker image, and I imported jdl file directly form https://start.jhipster.tech/jdl-studio/. And then I ran ./mvnw -P-webpack and also yarn start on the different terminal. Both are works perfectly and app runs on the localhost:8080 thru ./mvnw and also localhost:9000 from npm start. Here is my currentr schemas (From http://localhost:9000/admin/docs) : And here is

Advertisement