Most voted "vue.js-2" questions
83 questions
Sort by count of
-
0
votes1
answer111
viewsVuejs2 Update of Directives
I have a problem with my Money directive, it works like this: I make an Axios call to my API, the API brings me a value and I format to the BR standard. But now I have to create a button…
-
0
votes1
answer90
viewsVuejs - How to add e2e/unit tests after not including them initially in the creation of the webpack project?
I own a project that was started with vuetify webpack (Vue init vuetifyjs/webpack). At the time the project was created, the e2e/unit test option was not selected. However, there is now a need to…
-
0
votes1
answer140
viewsCalling VUE function through another Iframe
I made a form where an action is executed in iframe, i need somehow, this file I’m opening in iframe call my function in VUE, I’m posting my code below. new Vue({ el:"#app", data : { teste : '', },…
-
0
votes2
answers160
viewsDirectives
How to build a Custom Directive that works like v-on? Briefly the directive needs to have the same functionality as the v-on:click I tried things like: //App.vue: <h1…
-
0
votes1
answer142
viewsHow to "bind" a Vue.js variable without using the keys
I’m starting to work now with Laravel 5 + Vue.js and I’m having problems with loading my page. My Vue variables are exposed at startup and are only rendered after javascript loads. My example is the…
-
0
votes1
answer285
viewsProblem including JS file in project with Vuejs 2
I have the following problem: By including a local file . js in my project with Vuejs I get the following error message. Follow my structure and code: I realized that if you include an external…
-
0
votes1
answer53
viewsAccess to property value
I have a method where I need to take the number of each table, but the return is always the length of the property and not its value. If I leave only one table the method correctly returns the value…
-
0
votes0
answers73
viewsError setting coordinates in google maps with Vue js
I’m having a problem setting the points (Makers) of the javascript api google maps. When I get the coordinates of the variable, and Seto in my map it restarts the component and erases the value of…
-
0
votes2
answers402
viewsHow to make a mockery (consult only after you finish typing in the input) in VUEJS?
I come from Angularjs and, at certain times, when I need to make a query according to what the user is searching, I use ng-change, but I agree with him ng-model-options="{debounce: 500}". This makes…
-
0
votes0
answers195
viewsHow to log a component imported with Vue.js correctly?
error: Unknown custom element: - Did you Register the Component correctly? For recursive Components, make sure to provide the "name" option I am trying to register a component containing a form but…
-
0
votes1
answer472
viewsUpdate v-for in Vue.js
Hey guys, I’m having a slight problem here on my Vue.js. I have a variable user.activeItems, in HTML I give a v-for on this variable, to show the active items, as follows: <div…
-
0
votes1
answer139
viewsNuxt 2 how to serve the Assets correctly in Firebase Host
I’m building a new ssr application using Nuxt 2 and Firebase, I’m trying to deploy my application using Firebase Hosting and Cloud Functions as well as this video however the problem, the video is…
-
0
votes1
answer99
viewsHow to use dynamic key in multidimensional json in v-model in Vue.js?
I’m having trouble selecting the options of a select with the data from beginning and end within the dynamic keys of the following multidimensional json: rowsels:…
-
0
votes1
answer144
viewsDefinition of props in Vue.js rendering function
The Vue.js possesses funções de renderização and various ways to define where the component will be rendered, such as the use of el, template and the function render. The render function has…
-
0
votes2
answers6612
viewsProblems using v-Mask (Vue.JS)
I wanted to use a mask on some componentized inputs, but it doesn’t work, it follows the respective code snippets: in main.js we have: import VueMask from 'v-mask' Vue.use(VueMask); in my component,…
-
0
votes1
answer38
viewsStore a get in an object and bide from it. Vue.js
I have a working GET method (I am not using Axios) and I would like to save its result in an object (this result can be varied, because this GET returns an object with several other objects. I tried…
-
0
votes1
answer84
viewsVuejs component error, currency converter
Hello, I’m trying to create a currency converter with a component, but I’m trying problems index.html <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css"…
-
0
votes0
answers33
viewshow to use window.innerWidth inside computed Property - Nuxtjs
am working on a Vue.js/nuxt.js project, where I need to determine styles within the computed Property and apply on a div based on screen size, as in the example below: <template> <div…
-
0
votes1
answer382
viewsHow to save form data to a global obj using Vuex Vue.js with Laravel 5.8
Good guys, in my first component I have this obj ready. export default { data: () => ({ valid: false, campo: { endereco: '', numero: '', bairro: '', cep: '', cidade: '', estado: '', complemento:…
-
0
votes1
answer118
viewsSwitching from false to true with Vuex and Axios
Currently I have a structure with Nuxt and Vuex in the project, there is an object that comes directly from an Api and I need to make it change the state from "false" to "true" if the API returns it…
-
0
votes1
answer303
viewsHow to use more than 1 dynamic class with vuejs?
Good morning/afternoon / evening I have a doubt, I have a project where I have a dynamic class with ternary operators, I need to add another dynamic class to bring an extra class in this whole joke,…
-
0
votes1
answer567
views[Vue warn]: Unknown custom element: <v-col> (vuetify)
I’m a beginner in Vue.js and I’m trying to create a search application. I’m using the vuetify library and I’m having the following error: [Vue warn]: Unknown custom element: v-col - Did you Register…
-
0
votes1
answer253
viewsTable with multiple Radio Button - recover Vue values
I have the following screen: Who are basically disciplines with their classes. I’m using Vuejs, where I have an object with JSON with a list Disciplines containing a list of id classes. The screen…
-
0
votes1
answer120
viewsV-FOR is not working in my APP?
I am developing an app in Vue.js but I have some error in the array data: that contains some chat rooms, if I leave only the template it renders normally, but when entering the data with data :…
-
0
votes1
answer126
viewsInsert Input value as a Select Option
Good night! I’m a beginner with Vue.js, I was trying to do some tests and small projects to train and decided to make a program that simulates a Clock Point. Anyway, I ended up locking this part of…
-
0
votes0
answers15
viewsAdd dynamically Lifecycle Hooks using Vue.js 3
Good afternoon. I have some components in Vue.js on npm and I received a request to put compatibility with Vue.js 3 (at the time these components were made with only version 2.x in mind). The…
-
-1
votes1
answer782
viewsHow to make v-money recognize zeros after the comma
I’m using v-money for prices, if in the database there is no 0 at the end as for example: 10.99, when searching the value and playing in the input, the value appears normally. Now if in the database…
-
-1
votes1
answer141
viewsFilter an array with Vue
Great day to you all! I’m picking up to a filter where I don’t understand the pq is returning the following error on the console: "Vue.runtime.esm.js? 2b0e:619 [Vue warn]: Error in render:…
-
-1
votes1
answer322
viewsFilter data using v-select in Vue
I have an API that returns me all registered users on the system, I need to implement a form of search where I can filter these users by sex. I have a field (v-select) where we can choose male or…
-
-1
votes1
answer91
viewsVuetify - Navigation Drawer with nested list items
I’m trying to create a navigation drawer with nested list items like this: Vuetify Navigation Panel <v-navigation-drawer v-model="drawer" app clipped> <v-list dense> <template>…
-
-1
votes1
answer87
viewsORDER OF EXECUTION VUEJS
Good afternoon, Gentlemen. Using Vue with lib and not as a framework, I have two functions that make requests for two endpoints, where the first I get a token and the second I need to pass the token…
-
-1
votes1
answer29
viewsError vuejs 'this. $delete is not a Function'
I already have a theory of what could be this error, I have done a course in Vue2 but I am with Vue3 at a given time the course passes two functions to finish the task and to delete the same: Add:…
-
-2
votes1
answer227
viewsReactivity of Objects in Vuejs (vuex)
I am making an application where I store the user profile data in the vuex store, and there is the option to update this data. the problem is that when I update via mutations as indicated, and…