Questions tagged as 'vue.js'

1
answer

VueJS Menu Collapse

I have a dynamic menu that comes from a REST API . My problem is: Today when I access some page, all the menus are closed. I wanted it when I entered for example a 3rd level page, the menu would open where the user is, for him to loca...
asked by 22.09.2017 / 19:27
1
answer

installation error of vue resources in ubuntu

observe the commands below; root@wlady-VirtualBox:/home/wlady/Documentos/music-db/frondend# yarn add vuex vuex-router-sync vue-router axios animate.css google-material-color material-design-icons laravel-echo pusher-js yarn add v1.1.0 [1/5] Va...
asked by 26.09.2017 / 19:50
1
answer

The project does not recognize the v-layout directive of vue.js

Greeting for all, The opportunity to work as a Frond-End programmer appeared, and the team I'm working on said that I had to mess with Vue.js , it's a new technology that has appeared now. I'm following an online course, and in this course t...
asked by 28.09.2017 / 23:15
1
answer

Convert response data from HTML to PDF

My response.data is returned a ticket in HTML format, I want to convert it to PDF. How do I? Below a part of the code: imprimirboleto: function () { axios({ method: 'get', url: '/server/boleto', params: {...
asked by 09.08.2017 / 21:39
1
answer

Route Error in Vue js

My App.Vue <template> <div id="app"> <router-view></router-view> </div> </template> <script> export default { name: 'app', data () { return { } } } </script> <style...
asked by 05.09.2017 / 22:58
1
answer

Download using the axios?

I'm using Axios to make the requests of my application, and in one of the GET requests returns a PDF file. When I make the GET request by Postman it opens a window to choose where to save the file, but when I make the request for my application...
asked by 04.08.2017 / 15:07
1
answer

XMLHttpRequest can not load in Vue js

My app.vue <template> <div id="app"> <h1>{{ titulo }}</h1> <li v-for="usuario of usuarios"> </li> </div> </template> <script> export default { name:...
asked by 28.08.2017 / 20:26
1
answer

Working with if in a vue.js application

I'm new as a Javascript programmer and I have a difficulty that maybe for some is not a problem. look closely at the HTML code; <tbody> <tr v-for="bancodedado in filteredBancodedaos "> <td>{{...
asked by 21.09.2017 / 18:53
1
answer

Vue.js with pure PHP

I'm starting in Vue.js and now I'm in a moment that I can not do. I need to for example connect in PHP and make a select in MySQL to bring some data. But I do not know how to proceed in Vue.js , I'll put the code here. I tried to do so...
asked by 31.07.2017 / 20:44
2
answers

Difficulty accessing json

I have the following json: { "destination_addresses": [ "Rua B, 1 - Coqueiro,Belém - PA, 66670-350, Belém - PA, 66670-350, Brasil" ], "origin_addresses": [ "Pref. José Walter, Fortaleza - CE, 60810-670, Brasil" ],...
asked by 14.06.2017 / 14:58