Questions tagged as 'vue.js'

1
answer

Filters in Vue only work with interpolation, do not work with v-text. Because?

I know that to use a filter in Vue , you can make the call as follows: Vue.filter('hello', function (input) { return "hello, " + input; }) new Vue({ el: "#app", data: { name: "Wallace", } }) <sc...
asked by 25.10.2018 / 21:15
1
answer

How to check if a String is encoded in base64?

I'm working on an email application using VueJs / Quasar on the client and HapiJS on the server, and some emails (depending on the sender) come with base64-encoded text, and some do not. To solve this, I need to find a way to identify if the e...
asked by 24.08.2017 / 17:00
1
answer

VueJS v-select submit

I am using V-SELECT to do a select style Chosen . Well, it works! But when I use "ENTER" to insert new elements, it gives SUBMIT in the form. Is it possible for me to give submit only when I click the button and not when givi...
asked by 29.09.2017 / 17:59
1
answer

How to consume authenticated API in Laravel with VueJS?

I need to consume an API with VueJs in Laravel 5.2, but is it authenticated, any tips for this process?     
asked by 07.07.2016 / 21:48
3
answers

Key event mode

Can I call a modal boot vpue using a keyevent in VUEJS ?? I do not want any kind of onscreen button or inputs, I want to know if I can call the modal just by pressing a specific key. Like for example the ALT.     
asked by 08.10.2018 / 22:34
1
answer

Create custom property in JavaScript [closed]

I want to do the following, I use data types to create customizable properties, however I wanted to do as VueJS it has v-on among other properties and it was created using HTMLElement?     
asked by 27.11.2018 / 16:15
1
answer

Open Modal Vuetify

I'm having trouble opening a Modal with Vue, I'm using Vuetify, I can open it, as they show in the documentation, but I can not open it, just by clicking on a button (for example). <v-dialog v-model="dialog" width="600px"> <v-card...
asked by 17.08.2017 / 20:11
1
answer

Variables in App.vue

I have inside the App.vue file the variable CustomerName {{nomeCliente}} I'm creating a function inside the App.vue to populate the variable this.$eventHub.$on('mostrarNome', function(value) { this.nomeCliente = value; }); which is...
asked by 01.05.2018 / 15:47
1
answer

Vue JS always removing the first item

Regardless of which line I try to delete, it always deletes the first one: Returns the following error: Property or method "$index" is not defined on the instance but referenced during render. Make sure to declare reactive data properties...
asked by 08.08.2017 / 21:57
1
answer

Attribute not defined in a Vue object

I'm doing a few things in Vue. And I have a problem here. Apparently there is a mistake here and I have no idea what is wrong. The console says that title has not been set. var cadastro = new Vue({ el:'#cadastro', data:{ pagina...
asked by 17.07.2017 / 23:41