Most voted "vue.js" questions
Vue.js is a Javascript library that combines MVVM (Model-view-viewmodel) for building interactive interfaces.
Learn more…765 questions
Sort by count of
-
0
votes1
answer134
viewsError creating graph with API data - Axios/Vue
Hello, I’m building a graph that collects meteorological data from the city of Curitiba through a API reset, however nothing is collected and so the graph is not created, I’m using Vue/ Axios for…
-
0
votes1
answer77
viewsSuccessful alert for the user with Vue
I have a session in my application, where the user disables and activates documents, at the time it activates or disables wanted to show a successful Alert in the Vue.js standard, but I don’t know…
vue.jsasked 5 years, 9 months ago Romulo Sousa 569 -
0
votes0
answers115
viewsProblem with modal in Laravel and Vue.js
Hello to all of you! I am working with a CRUD application in Windows and Vue.js and at the moment I am facing the following problem I created a modal to update a table, the modal does the…
-
0
votes1
answer147
viewsAdd Animate or classes when scrolling the page and arrive in div
I am working on a project in Vue and I need that when the user scrolls the page and arrives in a specific div, be added an effect or a class in that div, similar to Scrollreveal Someone has already…
-
0
votes2
answers936
viewsCheck if an array is empty with Vue.js
I am new to javascript and thought about doing some tests with some tools (the Vue.js and nuxt.js) to learn something new. So taking a test that I was sent (which comes down to doing a job vacancy…
-
0
votes1
answer39
viewsError typing numeric values in input
When entering values in inputs the calculations are quite different, but when loading the application with the values filled the application wheel template <div id="simulador"> <div…
-
0
votes1
answer432
viewsSweetalert2: Uncaught Typeerror: Failed to resolve module specifier "Vue-sweetalert2.js"
I’m trying to use swal2 in Vue, but with this import I’m getting the error Uncaught Typeerror: Failed to resolve module specifier "Vue-sweetalert2.js". Relative References must start with either…
-
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
answers127
viewsOrganize data from a Binding date into a table
I’m trying to get the data through a data-Binding and mount a table (from bootstrap) using a V-for, but it doesn’t happen as I expected. Table structure: <table class="table table-borderless">…
-
0
votes1
answer194
viewsHow to open my 404 component in case of error without changing the URL in Vue.js
How do I open my "Notfound" component, inside another component, using beforeRouteEnter, without changing the url? I created a dynamic route, and a * to open "Notfound" in all other cases. { path:…
-
0
votes0
answers43
viewsVue-snotify, change position of async function
Has a plugin for Toast notifications called Vue-snotify Vue-Snotify It has a function that makes a request with Axios, and before completing the request shows a loading notification, and then one of…
-
0
votes1
answer162
viewsTo sort a list by options select vuejs
Good evening, I already asked this question, but I will try to improve it, I am developing in Aravel Vue and I just need to play the sorting function for the option within select, it is something…
-
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
answer227
viewsVuejs - v-if and v-Else chained
Good afternoon, everyone, I have the following html: <template> <div v-if="!visibleForm" style="min-height: 793px;"> // conteúdo .... </div> <div v-else-if="visibleForm">…
-
0
votes2
answers538
viewsHow to pass parameters from Component to vuex in an Laravel and vuejs project?
I am using in my project Vuex with modules and Axios to work with the API created in Laravel, how to pass parameters in an edition of a data recovered from an API I have my Store export default {…
-
0
votes2
answers276
viewsDoubts about the import and overall use of Axios in Vuejs
I am using Axios in one of my projects with Vuejs, my doubt is directly linked to the global import form of the plugin. Currently I’m doing so: Create a /plugin/Axios.js file with this code: import…
-
0
votes1
answer2086
viewshow to translate a JSON
I have a JSON here with 1000 objects inside an array, ta in English, the problem and I want to translate to pt-Br and when I use google translator simply Buga, for example { "Description": "Do you…
-
0
votes1
answer31
viewsChange array Response to object
I’m doing a get and the answer is coming like this: [ {"cep":"01050-070", "rua":"Rua Álvaro de Carvalho", "bairro":"Centro", "cidade":"São Paulo", "estado":"SP"} ] I’d like Re sponse to come like…
-
0
votes1
answer155
viewsError with Vue.js deploy
api.min.js:2 GET https://api.opmnstr.com/v1/optin/13439/673828 410 (anonymous) @ api.min.js:2 Ye.send @ api.min.js:2 getCampaigns @ api.min.js:2 t.init @ api.min.js:2 o.onload.o.onreadystatechange @…
vue.jsasked 5 years, 5 months ago Pedro Henrique 423 -
0
votes1
answer32
viewsData is not being shown in the view
I am trying to render some data in a table using Vuejs. I am making a request with Axios as follows: export default { data() { return { movimentos: [] }; }, mounted() {…
-
0
votes2
answers835
viewsHow to view an image saved in another project folder in Vue?
I need to display an image that is saved in another folder of my project inside a v-img tag, in vuetify. I’m just not getting it. Someone knows how to do? My project folders are so organized:…
-
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
answers47
viewsError in CEP function
Hello, I have an application in VUE JS, but when I search the zip code it does not send the data to the API, giving the following error: PUT http://localhost:xxx/join-user/change 401 (Attempted to…
-
0
votes0
answers170
viewsError inserting data into Lokijs with Vuejs
Hello, I am starting in Electron with Vuejs1.0 && Lokijs and I have had difficulty finding the solution to the error that happens whenever I will insert a second given to Collection: Error:…
-
0
votes2
answers24
viewsRendering with v-for
I have this html code (I have a script tag in the head that prompts Vue already) <table class="table-striped" id="productsTable"> <thead> <tr> <th>Nome</th>…
-
0
votes0
answers73
viewsHow can the reference of the v-for iteration be used as a parameter in Vue.js?
I’m creating a TodoList where I have the editTodo() which will allow you to change an item in the list, but in the vi declaration which is passed as a parameter the reference todo which I use in the…
-
0
votes1
answer81
viewsProblems with Async/Await and Vuex!
I am facing problems with Vuex and Javascript, I believe because I am not able to work well with Promises, Vuex and Async/Await I have a function that runs through an array (map) Inside an if, I…
-
0
votes0
answers98
viewsHow to use Object.value in Vuex Getters module
in a. Vue or Vue html file, I can use a v-if with the following snippet Object.values(this.dialogs).filter((v) => v).length !== 0 and works as expected but in a file. js more precisely in a vuex…
-
0
votes3
answers66
viewsGet Function value in javascript
Code: window.onscroll = function (e) { console.log(this.oldScroll > this.scrollY) this.oldScroll = this.scrollY } How do I turn this console.log in a Return and get the value false or true out of…
-
0
votes0
answers32
viewsPrevent user from entering token manually by browser
Is there a way to prevent a user from manually typing the access_token by browser? For example, if I put a key with the name access_token direct by the browser, and type any value, I can enter a…
-
0
votes2
answers150
viewsv-form post does not send data
I created a basic form to see if I receive data in my API using vuetify but when giving Ubmit the v-select data is not sent and I cannot understand the reason, since in general the examples of these…
-
0
votes0
answers799
viewsHow to provide login and password to access an api with vueJs and Axios?
I’m getting an error: Request failed with status code 401 when trying to connect to an api using Vue and Axios, I am completely new to consuming api, in case it is a Django Rest, which is the…
-
0
votes1
answer77
viewsGet function return inside a Vuex getter
Good afternoon, I am using the vuetify bind Rules and in it a method that comes from inside a getter in a module. in bind the method returns in the best possible way, giving me error or succes and…
-
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
votes0
answers49
viewsListen to textarea, replace with data from a spreadsheet and print in another textarea, in Vue.js
You have a Function in the trampo system that takes the text typed in the View (textarea and input), reads from where you have {}, which refer to the column of the spreadsheet that was uploaded in…
-
0
votes1
answer178
viewsUpdate data in JSON with Vue.js
I have a small JSON called "users" [ { "id": 1, "name": "Arthur", "data": "1998-11-22", "email": "[email protected]", "departamento": "Vendas" } ] And another JSON called "departments" [ { "id": 1,…
-
0
votes1
answer78
views -
0
votes1
answer497
viewsRequest blocked by CORS - Vue and Spring Boot
I have a Spring Boot API and a Vue application, both running locally, but I can’t make a PUT request from the Vue application for API. If you send a GET request, it works perfectly. I tried,…
-
0
votes2
answers1039
viewsTable in Postgrethe ID field is not auto incremented
I’ll explain my problem: In my SQL system already came the error in INSERT, stating that the id field, which is autoincrement is stating that it is null: INSERT INTO cliente_sub_grupo…
-
0
votes1
answer438
viewsvuejs - v-bind in pseudo css element
I need to change the color of a pseudo element, according to some conditions. To simplify, I did first without any condition, just want to change the color through the v-bind I have a pseudo CSS…
-
0
votes1
answer91
viewsHow to get real-time function values in javascript?
Hello, I am almost completely Noob in Javascript. I did some projects in Django and decided to expand some knowledge. One problem I always had was to call functions and get their values in real…
-
0
votes2
answers62
viewsUpdate item quantity in table
Guys I’m starting with Vue and I’m having a little difficulty. In the image below I have a table with some items and when I will increase the amount of the item Orange for example is increased all…
-
0
votes1
answer207
viewsProblems logging in with Vue, Vuex, Xios and Laravel
I’m trying to log in an application that uses the Windows as back/api and the front with Vue/vuex/Vue-router, but when receiving the token I can’t keep the status in the store after updating the…
-
0
votes1
answer24
viewsHelp Request with VUE JS Variable
I use the v-model to play the value for the variable categoria_selecionada, I own a API that searches the subcategory in the database by following the address as per id past, for example passing the…
-
0
votes1
answer43
viewsb-table of the Vue boostrap
I’m using the b-table of Bootstrap of Vue. I have an object in this format: And the table is populating like this: It is throwing the whole object into the field, as we can see in these circular…
-
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
answer269
viewsMy dynamical form in Vue does not work
I am making a form, in which it is necessary that I allow to add more fields. I have already managed to do this in other fields of this same form. However, everything I’ve tried for one last field…
vue.jsasked 5 years ago user133918 -
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
answer259
viewsInsert icone into a table
I have the following code in a file . Vue: <template> <div class="col-6"> <ModalRegister/> <div class="col-12"> <b-table hover :items="rowData"></b-table>…