Questions tagged as 'vue.js'

1
answer

npm install 404 error

I started a Vue.js course and I'm installing a feature by node.js but I'm having problems with the npm command, take a look; What's wrong with my node in this command below? npm install vue vue-resource bootstratp font-awesome --save...
asked by 19.09.2017 / 12:38
1
answer

Session library for NodeJS / HapiJS?

I'm doing an email application and got to the part where I need to do the session and login part, but I've never done it before, I'm using HapiJS as a server and I'd like to know which session libraries are best, and what other resources that I...
asked by 24.08.2017 / 22:00
2
answers

Problems loading a list of Json in vue.js

look at the Javascript code below; var app = new Vue({ el:'#app', data:{ bancodedados:[] }, methods:{ }, created:function(){ var self = this; self.$http.get('https://swapi.co/api/planets/1/...
asked by 21.09.2017 / 01:27
1
answer

Vuejs pass object as props

I would like to know how to pass a javascript object as a property of a component vue.js . I'm trying this way, but it's not working: component: Vue.component('web-nav', { props: ['navProps'], data: function() { return {...
asked by 23.06.2017 / 21:32
2
answers

How do I update a variable in a v-for in Vue JS?

I have the following code in my view: <div> <div v-for="(solicitacao, $index) in solicitacoes"> <div class="box-image" :class="{'box-rejected' : solicitacao.$$reprovado}"> <div class="box-image-he...
asked by 25.04.2017 / 18:38
1
answer

How to use materialize components with vue.js?

I have a PivotTable that updates according to an array of objects. In one of the columns of it I want to put a dropdown with the possible actions (edit, delete, etc). But the dropdown does not work and shows no error in the console. This is the...
asked by 08.12.2016 / 16:35
1
answer

How do I use vueJS with gulp?

I'm working on a project using gulp and I wanted to learn a little more of vue.js so I want to use it in the project, but I'm not able to find anything clear on the internet how to mount in gulpfile.js . > My file looks like this:...
asked by 24.11.2016 / 16:46
1
answer

How to turn v-on: click="sync" into something automatic that is triggered when opening the html

Explaining the problem I have this javascript that in the html I call v-on:click="sync" it updates the news list, but this news list while I do not click on sync it goes blank, so I'm looking for a way to make v-on:click="sync"...
asked by 24.11.2016 / 23:01
1
answer

How to pass a dynamic argument to a method in Vue.js?

I need to call a v-on event: click with a dynamic argument. I tried the most logical way: v-on:click="my_method({{value}})" . It does not work.     
asked by 10.09.2016 / 05:01
0
answers

Show button only when the scroll bar goes down, using vuetify

Hello. I'm creating a "go to the top of the page" button using vuetify. I can already make it go to the top with the following code: @click="$vuetify.goTo(0,0) But now I would like it to only appear if I scroll the page down a little. I...
asked by 01.01.2019 / 11:55