Questions tagged as 'vue.js'

1
answer

I am trying to make a multidimensional vertical menu with vue.js but the subitems are not appearing

This is the code I have so far: Vue.component('menu-item', { props: ['cmitens'], template: '#menu-item' }); new Vue({el: '#vuesadminmenu', data: { menuitens: {"test0":{"titulo":"Test0","open":"false"...
asked by 02.12.2018 / 20:45
1
answer

How popular is ChartJS Chart with VueJs and Axios?

I'm not getting my graph with popular data from an api, can you help me, I do not know what I'm doing wrong! <template> <div class="py-1 bg-light px-5"> <div class="col-12 my-2"> <div class=...
asked by 23.10.2018 / 15:10
0
answers

Laravel (blade) @lang on Vue components

Recently I started using VueJs with Laravel and one of the first problems I came up with was how to use the Laravel translations (from the resource/lang folder) in the Vue Components because in the Blade it is simply to use @lang, or @cho...
asked by 23.11.2018 / 17:45
0
answers

Fill modal with vue js

The problem: I'm developing a site that has a feed with posts, each post has comments. When I click on the comment's button for the post, I need to upload a modal filled with comments and posting. This part I can do, I just do not know...
asked by 26.12.2018 / 16:13
1
answer

Select rows from a table with the keyboard arrows

I'm trying to develop a code to be able to navigate between the rows of an html table using the navigation arrows. What would be the best way? I need the selected line to have a different class. My code looks like this: <tr...
asked by 02.09.2018 / 00:08
0
answers

Laravel + Passport + Vue - Not found

Gentlemen, I'm starting to develop an application using Laravel's Passport method, but it is not finding the VUE library. follows an image with the return of the browser: jsfileimportingVUElibrary readablebladefile Where can I be wrong?...
asked by 19.09.2018 / 21:17
1
answer

Consumption of internet data using Vue.Js or similar

Good morning, I have an application in Vue, where the upper and lateral nav are static, and the content (body) is loaded according to the requests made in the nav links. The Vue greatly accelerates the use, charging only the center, but does thi...
asked by 03.08.2018 / 15:23
0
answers

$ .ajax Calling twice

I'm developing an application with Vue.JS and Jquery. The call is being made like this in Vue: methods: { efetuarLogin: function (event) { event.stopPropagation(); $.ajax({ ty...
asked by 12.07.2018 / 14:00
0
answers

Context of the component of the vue is coming wrong

I have a problem in developing a project using Vue2, when I look for the context of the component, it does not return the "right" context, such as:    $ router If you want to appear in the next context, the object I get when I search i...
asked by 27.06.2018 / 22:52
0
answers

How to color part of a text inside the input using REGEX or if you have a VUEJS plugin

My problem is the following I have an input with the text. Eg: "I'll add this new text". When the text is selected I change it to be enclosed in braces. Eg: "I will add this new text". UNTIL HERE I GOT But I need to change everywhe...
asked by 05.06.2018 / 14:07