Questions tagged as 'vue.js'

0
answers

Passing Variable to Websockets in VUE.js

I'm starting to use VUE + Websockets, I'm using Ratchet. I need to pass a variable to my server.php file (WS execution file), My front looks like this: var self = this; self.ws = new WebSocket('ws://localhost:9000'); self.ws.onopen = fu...
asked by 12.06.2018 / 05:20
0
answers

Passing variables VUE Websockets

When I pass a variable of this form in Vue, how do I retrieve it in the PHP file? self.ws = new WebSocket('ws://localhost:9000?variavel=22'); $ _GET?     
asked by 12.06.2018 / 06:08
0
answers

Change the color of part of the text in the input using Vuejs / Html / css

As for example on Facebook when we type Congratulations so-and-so inside the input the word congratulations turns bold and orange and the person keeps typing normally ... that is ... when the person types the word parabens I need to just chang...
asked by 03.06.2018 / 22:48
1
answer

Is it possible to separate the value of the JSON item?

Let's say I have an object like this: { "parametros": { "carteira": "RG", "taxaboleto": "0.00", "multa": "0.00", "juros": "0.00" } } Is it possible that I can extract the item's name from the object? For example, the...
asked by 05.06.2018 / 04:55
0
answers

FileReader with VueJS

I'm trying to display an image when uploading, but I'm having difficulty, because when reader.onload generates base64 the object was already rendered on screen, I tried to use vuex , but it still did not work, somehow alterna...
asked by 30.05.2018 / 17:54
0
answers

Vue.js Prod version Error IE11 "Expected identifier, string or number"

I'm trying to run my new webpage in IE11 (testing the compatibility across browsers) and I have an error in console log, and got a blank page for any route. I'm using webpack, running: npm run build. To be able to see the code, I disabled the...
asked by 22.05.2018 / 17:30
1
answer

update with vue.js

This is the code of my ListProducts component. I was wondering how can I pass an id by the change button to when I create my UpdateProducts.vue pull the data that is going to be changed and then make the change in the database. My method delete...
asked by 11.05.2018 / 00:42
1
answer

Getting nested resources from the Rails controller

Good evening, this is my first post here, I'm learning to use the tool, sorry if I did something wrong. But here's the problem ... I'm trying to make a "Trello" clone in Rails for a college discipline. Basically I have one in the Project model...
asked by 04.05.2018 / 01:49
1
answer

is it possible to get the use of RAM using vues or php?

Hello, I would like to know if it is possible for me to do a system in vuejs or directly in php that will take up how much RAM I am using in total with all programs.     
asked by 10.05.2018 / 22:03
1
answer

submit form with vuejs

 I'mtryingtosubmitthisform,buttheerroratthetimeofdoingthepost.Myobjectisemptysotheapidoesnotletinsertinthedatabaseandtheerror.Iwouldlikehelptoknowwhytheformdataisnotbeingallocatedinmyproductobject.Whyisitgoingempty?I'mabeginner,thankyou!   ...
asked by 30.04.2018 / 03:48