Questions tagged as 'vue.js'

1
answer

Vue-router + firebase

I'm trying to make a login system with vue and firebase, but I'm having trouble redirecting the user after authentication: login: function () { firebase.auth().signInWithEmailAndPassword(this.email, this.password).then( (user) => {...
asked by 25.04.2018 / 00:08
1
answer

Change image of the card component

I'm using the vue card component, with a static image, inside a v-navigation-drawer. <v-card-media height="80" src="/static/img/logo.png"></v-card-media> How do I change the image according to the state of the navigation? I...
asked by 22.04.2018 / 06:30
1
answer

Vue-router replace not working?

I'm developing a PWA and I'm having problems with the router, because when I use the back button on my smartphone it goes through all the routes I've visited previously and only after leaving the application, and I want it when the user uses the...
asked by 19.04.2018 / 14:37
0
answers

Ajax request does not arrive on server when body is too large

In an ajax call I make to the server in a report generation function I'm encountering a situation. In the body of the request I send a small array, with 20 positions, everything happens normally, but when I send a heavier request, with about...
asked by 25.04.2018 / 14:56
1
answer

Background Image with Vuetify

How do I put a background-image in applications with vuetify? I tried to insert through css but the loading is not obeyed. I did as follows: link     
asked by 23.04.2018 / 13:34
1
answer

Vuejs - How to add e2e / unit tests after not including them initially in the webpack project creation?

I have a project that started with the vuetify webpack (vue init vuetifyjs / webpack). At the time the project was created, the e2e / unit testing option was not selected. But now there is a need for testing. I checked the manual installation...
asked by 17.04.2018 / 21:39
0
answers

Stylize vue router-link visited!

I have a list of search results of the routes of my SPA brought through a v-for and I need that for the router-links accessed, have a style similar to a: visited and I can not do this with the css of the page. When accessing an item, when return...
asked by 03.04.2018 / 19:41
1
answer

Assign the return of a function that returns from a promisse

I am exporting a function to another file that is as a webpack-simple + vuejs component, This is the function of api-user.js file: export function getUsers () { axios.post('/api/get_list',{}) .then(req => {return req.data.list;})...
asked by 18.03.2018 / 17:14
1
answer

Auto Updater Electron

I am using Electron + VueJS , and I would like to know how to implement auto updater , I did a search, but I could not do anything, to be honest, I did not understand how it works, update, these things.     
asked by 22.03.2018 / 14:03
0
answers

Problems with template and vues

I downloaded an admin template from the internet and as usual, come various other css, js, plugins and so on. One of these files is for the template menu to leave li open with its sub-lis and highlighted in the active link. Because it i...
asked by 26.03.2018 / 21:35