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
votes2
answers1010
viewsHow to access one component within another?
I’m using the single file components, but I can’t access a component via another component, follow what I tried... <template> <div id="containerPrincipal" @click.stop="teste"> ...…
-
0
votes0
answers203
viewsVuejs Errors before the API loads
Is there any way I can ask for the Vuejs wait a while before dealing with the mistakes of the GIFT? I have for example a select who receives a v-model coming from the API, but as Vuejs loads the DOM…
-
0
votes1
answer442
viewsAxios or Ajax in Vue.js to perform requests to the server How can I api?
I have a question I couldn’t solve by searching the Internet. I use ajax to perform requests for a long time, now I’m programming in Vue.js, and I use Xios, I wonder if there is any difference…
-
0
votes1
answer236
viewsHow do I upload a Nuxt project to a server? (Namecheap)
personnel what files of a project in nuxt I must go up to a server, in case I use the Namecheap. surrounded the npm run build (on my machine), and a folder /dist was created inside the folder .nuxt…
-
0
votes2
answers535
viewsWhat is the "right" folder structure for a PHP MVC project using Vuejs?
I know there is no absolute folder structure, but if there is a common preference, it already clears up on the way. I usually use something like: -app (arquivos .php) -model -view -control -public…
-
0
votes0
answers25
viewsPopper not found when using vuejs in Laravel
In one of my projects Laravel (5.8) I am using Vuejs, basically only created some components, I did not make any changes in the default configuration of Vue. But I’m getting the bug: Failed to load…
vue.jsasked 5 years, 5 months ago Fábio Jânio 3,407 -
0
votes1
answer196
viewsV-if to check if checkbox is checked
How do I make a v-if "If the v-checkbox is checked" ? tried v-if(model-name == true) did not work
-
0
votes2
answers102
viewsHow to import mixins into single file Components?
When trying to import mixin the following problem occurs Error in render: "Typeerror: Cannot read Property 'Components' of Undefined" But there is nothing abnormal in the Components because when…
-
0
votes0
answers106
viewsError loading fonts in Vue build (Webpack)
I’m doing the build of my project, and the whole system is loading, minus the sources of iview, in the way dev everything works perfectly, but when generating the build the sources get some square…
-
0
votes1
answer834
viewsHow to deploy a vuejs (Browserify) application to Heroku?
I lifted the server with express, but using a schematic for the webpack because I found nothing related to browserify, follows the code... // server.js var express = require('express'); var path =…
-
0
votes0
answers63
viewsChildren inside a Children
Is it possible to create a Children inside a Children? I’ve tried it this way but I don’t know how to do it. export default { data: () => ({ dialog: false, drawer: null, items: [ { icon:…
-
0
votes0
answers44
viewsHow to display images dynamically from an array in vuetify?
People you know from Vue/Vuetify, I’m having a hard time showing images on a dynamically shaped tag. The situation is as follows. I have an array declared in "date" that contains several objects,…
-
0
votes1
answer205
viewsHow to Treat 404 Image Error in Vuejs?
I’m using the vuetifyjs Carousel,I’m consuming an api and it works well but when comes an image that does not exist or broken, it is giving error: How do I make it to leave a standard image for when…
-
0
votes2
answers846
viewsImport Vue or other components into child components
I have an application in Vuejs2, in which I have an app.js, where I install Vue and make the Imports (Templates, plugins, etc). It turns out that some plugins/libs I can normally use inside child…
-
0
votes0
answers41
viewsReuse computed properties in Vuejs2
I have a calculation of totals of certain values in a pagination. This calculation is in a computed Property inserted into a component. The problem that I have another similar component that needs…
-
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
votes0
answers277
viewsRead static file with vuejs stand-alone
I have an application created with the default VUE-CLI configuration, and I need to read a json file from the public folder. After compiling the application with npm run build, the user should be…
-
0
votes1
answer292
viewsRefresh page conflicting between Windows and vuejs
I’m studying the integration between Windows and vuejs, however, when I configure the routes through the Vue-router, when doing a refresh on the page, the Windows does not find the page or so, I…
-
0
votes1
answer159
viewsVue component is not pushing in props
I’m creating a simple task list with Vue.js, doing so using separate components in files. One of the components has the function of adding an object to an array, which is a props, but there is the…
-
0
votes0
answers26
viewsProblem with cloudfront aws with Nuxt
I have a problem that I have no idea how to solve. I’m hosting a site made with Vue and nuxt in the cloudfront of aws, so far everything normal When I am on some internal page and reload pressing…
-
0
votes0
answers478
viewsHow to print on a Bematech MP-4200 TH thermal printer using Javascript?
I need to print a bill of sale through a web application, where I developed the front using Vuejs and the back built an API with Laravél, and I’m looking to integrate a Bematech MP-4200 TH printer,…
-
0
votes1
answer722
viewsVue js and Axios does not identify JSON response from API
I have the following code to fetch data from an API via POST, I get the result from JSON (as I can write it to the console. However, I cannot recur the values to fill the Vue element array. // Get…
-
0
votes1
answer146
viewsHow to import Vue2vis library?
I was trying to create a Timeline using Vis.js, using Vuejs 2 Adapter for Visjs,(https://github.com/alexcode/vue2vis) and the following error occurred :. It must be an import error.If anyone can…
-
0
votes1
answer213
viewsIs it possible to dynamically remove a directive with Vuejs?
I would like to know if it is possible to remove a directive dynamically with Vuejs Ex: <v-text-field v-mask="'XX:XX'" ></v-text-field> props: { mask: { type: String, default: '' } }…
-
0
votes1
answer313
viewsCapture changes that have been rendered with state in vueJS
I’m rendering the data that’s in one state in the vuex on some inputs that are scattered around the screen; I know I can’t use the same method of a "model" (two-way-databiding) to change the value…
-
0
votes2
answers560
viewsNotification in Vue
I have an application in Vue js, which registers a task, I would like to be notified 5 minutes before the task happens, I have the following code . function getData(){ let data = new Date(); let dia…
-
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
votes0
answers31
viewsMongo (Cloud) + Vue.js - Is it right or wrong?
Hello, I am programming an application using Vue.JS, (I am new to Javascript) and Mongo (Cloud Server) and I wanted to ask a question to know if my logic is correct or wrong, and if I need to…
-
0
votes1
answer39
viewsUsing a Math function in Vue 2 framework
I’m developing an api on Vue.js that has a button to calculate the power of a certain number. But when I click the button it becomes static, nothing changes. You have to make some change in the…
-
0
votes1
answer1038
viewsOwl Carousel + Vue.js with dynamic item
Hello, I have a component that initializes a slider with dynamic items coming from the database. However, I have a search box that makes a new request to the database and returns new items to…
-
0
votes1
answer845
viewsCopy text to clipboard using Vuejs?
On the return of a request is coming the digitable line of a boleto and assign this digitable line to a variable, but what I want to do now is copy this digitable line to the clipboard, so that the…
-
0
votes0
answers68
viewsFailed to load resource: net::ERR_FILE_NOT_FOUND
I’m starting to use Vuejs and I’m developing a game, but I can’t load the saved images on my PC in the game interface. Someone can fix this? Here’s what I’ve tried so far: <div class="row">…
-
0
votes1
answer77
viewsParse String to read HTML
I am developing a social network in Vue.js that needs to return in the body of one of its components a property (props). The component is the title of a post. <div> {{description}}…
-
0
votes1
answer584
viewsHow to create routes in tables with Vuejs?
My page is working perfectly, it today behaves as follows; The user clicks on the textSearch to perform a search, and the table will only load the search requested by the user. Look at my page!…
-
0
votes1
answer689
viewsHow to work with Json on Vuejs?
Look at the code: Address table Notice that the application is working perfectly, by clicking on any address it is automatically directed to the Google page because of this method right below;…
-
0
votes1
answer52
viewsComponent takes props of array type, but the value received is an Observer in Vue.js
I have a problem with my project with Vue. when I pass an array as props to my other component, it even gives a console.log() it prints an Observer, but not the array I passed it. this.values =…
-
0
votes0
answers62
viewsUse firebase custom authentication method in Vuejs
I am trying to run firestore authentication through a custom token (JWT). However I am facing problems to do so. The firestore documentation asks us to install the 'npm firebase-admin' library,…
-
0
votes1
answer909
viewsHow to use Emit and computed/watch
I am new to Vuejs and started to develop a project to study a spreadsheet launching hours and calculation of hours worked. I am using in the Laravel 5.5 project with Vuejs 2 and Momentjs to…
-
0
votes0
answers54
viewsPerform the hook 'beforeUpdate' only once in Vuejs
I got a code pad inside the hook beforeUpdate() of the Vue instance, and it is running several times in a row. My question is: It’s normal to hook beforeUpdate() be called several times?? If not,…
-
0
votes1
answer74
viewsIs it possible to add dependencies manually in Vuejs?
I’m starting my first project using the Framework Vue.JS, I know that by Vue UI it is possible to open the Vue CLI allowing us to add plugins and dependencies to the project. I have dependencies…
-
0
votes1
answer396
viewsUsing variables dynamically in Vue
I would like to know how to use the propriedade of a Objeto to concatenate the string component and become the class name in the v-for My object: data(){ return{ user: {name:""} } } I wish my class…
-
0
votes1
answer299
viewsWhy is fetch returning a file and not the data?
I’m doing a fetch to get the data of a JSON, but the variable is getting the value of promisse and not the returned data. var data = fetch('./data/data.json') .then((response) => response.json())…
-
0
votes0
answers77
viewsPreview of the site on social networks
I’m developing a SPA using Vue.js, using Vue-router and for Google, so I’ve been searching, it can index the content generated via javascript. Now for social networks, for example Facebook, when we…
-
0
votes2
answers1235
viewsHow to access a list within a list in Vuejs?
I’m having difficulty listing the values of a Json, but it results from it is an array within an array as you can see below; { "status": true, "valores": { "USD": { "nome": "D\u00f3lar", "valor":…
-
0
votes0
answers27
viewsIs it possible to put a <v-Calendar /> inside a <v-select />?
For some reasons of standardization I was asked if possible to put 'v-Calendar' inside 'v-select'; I researched a lot and tried in several possible ways but without success. I know this is not even…
-
0
votes1
answer57
viewsError of Keys Firebase
I’m doing a PWA using Vue and Quasar, but when I make a request in Postman to appear a push notification I have the following return in Postman: { "multicast_id": idMulticast, //removido por mim ao…
-
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
answer44
viewsProblems in Vue Js Syntax
Guys, today I installed Vue.js to start my first project and I came across the following problem. After the installation I created the project and when I opened the app.See the vs code was reading…
-
0
votes0
answers23
viewsVuejs mutiplo modulos
Good afternoon, you guys. I have a small problem executing the command "npm run serves" in my powershell appears the following problem to solve: There are Multiple modules with Names that only…
-
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…