Questions tagged as 'vue.js-2'

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

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

Insert v-for data into class css in VueJs2

<template v-for="d in data" > <a :key="d.id" class="zone{{d.value}}" href="{{d.code}}" >{{d.name}}</a> </template> This example simply does not work, how can I pass the values that are then within "d" to the attrib...
asked by 01.05.2018 / 22:22
1
answer

Vuejs - How to add e2e / unit tests after not including them initially in the webpack project creation?

I have a project that started with the vuetify webpack (vue init vuetifyjs / webpack). At the time the project was created, the e2e / unit testing option was not selected. But now there is a need for testing. I checked the manual installation...
asked by 17.04.2018 / 21:39
0
answers

Deploy with VueJS and Laravel as API

I'm developing a classified portal with vue-cli and laravel as api, so I have a directory just for the front and another just for the api in laravel, both running locally on different ports. How do I configure this when deploying? I have no idea...
asked by 18.03.2018 / 09:54
1
answer

Starting a Project Vue 2 [closed]

If I wanted to do a project in Vue 2 which template or libraries would be interesting to use? Also what database, language, framework to backend or otherwise integer in Vue 2 with node? Please tell us what you think.     
asked by 13.03.2018 / 19:36
1
answer

How to import the Vue2Vis library?

I was trying to create a TimeLine using Vis.js, using the Vuejs 2 adapter for Visjs, ( link ) and the following error: It should be some import error. If someone can help, follow the code: import vue2vis from 'vue2vis'; import Vue f...
asked by 17.01.2018 / 01:54
0
answers

Reuse computed properties in Vuejs2

I have a totals calculation of certain values in a pagination. This calculation is in a computed property inserted in a component. The problem I have with another similar component that needs to use the same computed property >. Here is...
asked by 08.01.2018 / 23:02
0
answers

VueJS using the parent Name tag on the children

Here is an example input: <input name="TESTE" id="TESTE" placeholder="TESTE"> How can I do something like this not to repeat the same name several times? Type this below: <div name="TESTE"> <input :name="parent.name" :...
asked by 26.12.2017 / 15:14
1
answer

Problems when accessing route in laravel to delete using Vue.js

I'm trying to delete a record, but when I access the laravel route using this
asked by 19.12.2017 / 14:29