Questions tagged as 'vue.js'

0
answers

Attach file to email application?

I'm developing an email application and the front end is being done in VueJS / Quasar Framework and the server is being developed with HapiJS. I've already been able to send simple emails using NodeMailer , and I'm listing them in the inbox...
asked by 31.08.2017 / 21:24
2
answers

How to integrate ASP.NET MVC Core with Vue.js?

I have a project that requires the client side to use Vue.js to render application views, but on the server side it is intended to use ASP.NET MVC Core to validate all business rules. Is there a way to integrate both technologies?     
asked by 14.08.2017 / 19:09
1
answer

How to use jquery plugin in vuejs2

I'm having difficulty making settings for the component using jquery in vuejs2. <div id="app"> <date-picker @update-date="updateDate" timepicker= "false" v-once></date-picker> <p>{{ date }}</p> &l...
asked by 16.10.2017 / 15:23
0
answers

Capture values followed by a textarea in the same function

I'm developing a console with HTML5 + Vue to streamline some simple commands. The inserted command comes via a textarea with v-model="cmd" v-on:keyup.enter="consoleMode()" . I'm using else else, since I only need 4 functions. conso...
asked by 03.08.2017 / 20:49
1
answer

Problem with events in VueJS 2

I found a code at a time and modified it in pure javascript. It worked right. But now I have to do something similar to what he does in vue. The problem is that I'm half-new in the vue and have little time to finish. NOTE: Basically the funct...
asked by 18.07.2017 / 19:00
2
answers

Error with JSPdf with VueJS

I'm having a problem trying to use JSPdf with Vuejs. I've taken an internet tutorial ( this one ) that shows methods: { GerarPdf(){ let source = $('#div') let cache_width = source.width() let a4...
asked by 13.07.2017 / 22:53
1
answer

How to pass value from service to var?

I have a REST service to fetch visitor values. However, I can not manipulate the values coming from the service outside the promise . export default{ data(){ return{ visitor: {} } } } created(){ this.VisitorService.show(...
asked by 26.06.2017 / 21:15
3
answers

How to add a css class to an element according to the page accessed in vue.js

Good Morning Sirs. I'm having a little difficulty with Vue.js, I want to understand how I can put the "active" class in a li element according to the currently active route. I have a menu that is dynamically generated through a Loop in...
asked by 01.05.2017 / 11:26
0
answers

Types of Vuex using getters

import * as types from './types' export default { // -=-=-==- OK -=-=-=-== // //return first item first(state, getters){ return getters.list[0]; }, //retorn all itens from my api list: state => { retur...
asked by 14.03.2017 / 18:59
2
answers

vue vue-resource $ http.get does not recognize json with [

I have a php that delivers the following content [{"Id":"50630","Operador":"","Id_cadastro":"61693"}] The vue-resource only recognizes if I remove the [] My code is vue this.$http.get('data.json').then(function(response) { this.ce...
asked by 26.12.2016 / 14:48