Questions tagged as 'vue.js'

1
answer

Make include of css and js files with vues

I'm studying the implementation of laravel and vuejs and using admin lte as template. My question is: in the index.html of vuejs, I put all the base files of css and js. But when the page requires a specific css and or js file, how do I include...
asked by 19.01.2018 / 02:23
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
1
answer

Capture changes that were rendered with state in vueJS

I am rendering data that is in state in vuex to some inputs that are scattered around the screen; I know I can not use the same method of a two-way-databiding to change the value of a state because it needs a commit to be ch...
asked by 23.01.2018 / 18:09
0
answers

Using old templates VueJs

I'm starting up in the VueJs world and I've seen a lot of Codecasts content with Vedovelli and Tals, so I'm thinking of using the link to start a test project and in the future a production project. However, at the time I created the project,...
asked by 17.01.2018 / 18:20
1
answer

Vue js and Axios does not identify API JSON response

// Get Pipelines const getPipelines = new Vue({ el: '#top-pipelines', data: { pipelines: [] }, mounted() { axios({ method: 'post', url: 'http:..xpto.../getpipelines',...
asked by 16.01.2018 / 14:37
0
answers

Return view and data with laravel and vuejs

I'm developing an application in laravel and the calls to get data with vues but I have a problem. This is my controller return for the view: public function dashboard() { if(session('usuario_id') !== null) { $usuario = U...
asked by 14.01.2018 / 02:38
1
answer

Refresh page conflicting between laravel and vuejs

I'm studying the integration between laravel and vuejs, however, when I configure the routes on the vue-router, when I refresh the page, laravel does not find the page or else I need to go back to the index of the application to run it again . I...
asked by 10.01.2018 / 05:17
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

How to give a "Refresh" page on Vue

I'm having a hard time finding nothing. I have the following scenario. In the HOME page I call a API when I click a button, and then I call the SCHEDULE page passing the% with%. But when I'm on the AGENDA page and click the butto...
asked by 11.12.2017 / 19:10