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
votes0
answers64
viewsts-jest (typescript Compiler) [...]. default is not a constructor
i’m trying to use ts-jest in a Vue project to Transform some ". ts" files in "js" so jest can test them. My problem is: typescript Compiler Give me this error: _className.default is not a…
-
0
votes0
answers35
viewsHow to not overwrite components using Tailwindcss?
I created a component Header and when I log it into a component called Home, Header overwrites the h3 and even though I tried to put a display block on each component, it didn’t work…
-
0
votes1
answer222
viewsAdd values from a column (array) - Vue.js?
I would like to know how to add up the values of a array to appear on the screen. Example has a column with gross value, which contains the gross value of each component, wanted to add these values.…
-
0
votes0
answers32
viewsHow to take the value of a reduce the tag to appear in the view - VUE.JS
I’m trying to set up a panel, and I want to take the added values of a reduce to appear in the view Inside the budgets, there’s an array of value, and I’ve done the methods to add methods: {…
-
0
votes1
answer27
viewsHow to build: click on the current line and load the clicked line information
In my template there is a form and data-table with the information "originated from the form". My difficulty is how to implement that when clicking on the table row causes the information to be…
-
0
votes0
answers63
viewsAdd a filter with quasar framework Vue.js
Good afternoon, I am trying to implement a filter in a list that contains several filters, however I am not able to pull the data to filter them, it seems to me you have to pull send for one…
-
0
votes0
answers51
viewsapexcharts series values do not appear
I’m trying to understand the value of an array I’m pulling from the back inside an apexchart chart, but it’s not returning anything, the chart appears blank the callback mounted() { this.uChart() },…
-
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…
-
0
votes0
answers19
viewsTransition with Vue grid
I have the following code in my component: HTML <template> <div id="app" :class="[ { 'hide-menu': !isMenuVisible || !user }, { 'hide-header-footer': !user }, ]" > <Header…
-
0
votes0
answers16
viewsHow to consume two endpoints with Axios and increment a list with the return of the second endpoint?
Guys I have the following method in my project with Vue.js: var lista = [] axios.get(this.$store.state.baseUrlAtendSac + 'AtendSacAtendente/ListarAtendSacAtendente',…
vue.jsasked 3 years, 9 months ago José Darci Rodrigues Jr 55 -
0
votes0
answers21
viewsHow not to duplicate a common component attribute (in the HTML part) in Vue.js
I need to instantiate in Vue.js several times the Servicehub ->component I’m making a communication between two compelling relatives I will always have to add the assignments below:…
-
0
votes1
answer23
viewsReload the page in Vue 3 no dist can not find the page
Creating a simple application in vue3 cli and entering the router page he gives me this code -> import { createRouter, createWebHistory } from 'vue-router' import Home from '../views/Home.vue'…
-
0
votes0
answers11
viewsSet column type for text using exceljs
Hello! I am using exceljs to export excel file I would like to define before exporting the column type to String Currently I’m doing so: const EXCEL_TYPE =…
-
0
votes0
answers12
viewsConnecting logged-in users only to their data in Firebase
Good afternoon. I would like to know how to make the data saved by a user be only seen by him once he has logged in. I am using Vue.js2 and Firebase. I followed this tutorial:…
-
0
votes0
answers84
viewsFill a table with an array of objects? Vuejs
Hi, I’m new to VUEJS and I’m having some difficulties... I want to create a table (I’m using Bootstrap-Vue, and Vue CLI and Javascript), and fill in some data. I did it in a way that worked, but I…
-
0
votes0
answers15
viewsModify Modal Sharepoint html (SP.UI.Modaldialog.showModalDialog) straight from "parent" page
I have a function abreModal() where, I use the call SP.UI.ModalDialog.showModalDialog to open a Sharepoint modal where the content is a Newform url (Sharepoint registration page). I would like to…
-
0
votes0
answers18
viewsProblem reloading page that has parameter in Vue
Sometimes it is necessary to send a parameter through a route In my case it’s happening like this: When my route (URL) has no parameter, I can press the F5 key and the page loads normally. But when…
-
0
votes0
answers17
viewsHow to avoid caching a v-text-field
Analyzing the submissions that html makes of the data, I realized that the inputs always leave one cached for future fills, but in the case of html the inputs have the directives autocomplete="off"…
-
0
votes1
answer23
viewsHow can I access a component and make it appear only in an Electron + Quasar window?
I would like the component to be displayed exactly in a single window, but I don’t know how to do it precisely, what I was able to do was just a small base of a whole, so far:…
-
0
votes2
answers175
viewsHow to import local sources via Vue/Vue-cli?
I need to import a local source for my project on Vue, and I am not succeeding. I tried using the @font-face, in that way: @font-face { font-family: 'Oxygen'; src:…
-
0
votes0
answers56
viewsVuetify v-select does not work
I’m testing the same example code of the official website but for some reason do not want to show the options at all The view is like this <template> <div class="about"> <v-select…
-
0
votes0
answers26
viewsGet another component variable for editing
I’m using Laravel + vuejs in an application I’m using to study both frameworks. I have a following problem: I am displaying a modal after clicking on "edit" and wanted to get the values that passes…
-
0
votes0
answers9
viewsCropper no Ionic Vue
I’m developing an app with Ionic using Vue. The user takes a photo, (I’m using the Capacitor.js Camera plugin). So far everything works. But I need to cut the image to always be square (It will be…
-
0
votes0
answers25
viewsView class detail
Good afternoon, I need to display the details of a certain class by clicking on a button, passing only the code. In the Index code, I did basically this way: <button type="button" class="btn…
-
0
votes0
answers47
viewsHow to resolve Cors error in Node
I did my backend with Node/express normally and tested all routes in India and everything took place normally at the front(vuejs) made requests via Xios, all routes also worked, except the…
-
0
votes1
answer39
viewsreturn select "related table" in the Format
Hello my application was developed in Modular and as a complement I am using some components of Vuejs. Let’s get to the problem, I have a client table doing relationship with country. In the same…
-
0
votes0
answers20
viewsAdd title to table row
Conditionally sometimes we need to put one title in a table row to inform the user about what is happening, some status, etc. Using vuetify, I would like to add this title in some lines…
-
0
votes0
answers18
viewsI can’t load an image in the 'b-Carousel-slide' with bootstrap-Vue, when I try to grab the internal image of the project it does not load
<b-carousel id="carousel-fade" style="text-shadow: 0px 0px 2px #000" fade indicators img-width="1024" img-height="480" > <b-carousel-slide caption="First slide" // não carrega a imagem, o…
vue.jsasked 3 years, 6 months ago Daniel Moraes 9 -
0
votes1
answer49
viewsHow to add a field of objects returned from firebase ( vuejs + firebase )
Hello, I’m trying to develop an ERP platform with vuejs using firebase as a storage solution, I’m trying to add all the 'value' fields of the 'expense' collection documents that loads the 'Name'…
-
0
votes0
answers82
viewsLaravel 8 Jetstream hot Reload and Sync browser do not work
Greetings to all, I have a big problem in a system that I just created. I did the standard installation of Laravel 8 with Jetstream using Docker and sail... But I can’t seem to do the npm run hot or…
-
0
votes0
answers65
viewsVercel deploy problem
I have a problem at Vercel’s. I always published projects that use pure javascript, but recently I joined the world of Vue.js and everything was going well, until I migrated to Nuxt.js My Nuxt…
-
0
votes0
answers5
viewsHow to fix error with webpack in Vue : Expected an Identifier but found '(' Instead
I have a project done in Vue, it occurs that it compiles without problems, runs in Chrome, but when I test in Safari, generates an error: Expected an Identifier but found '(' Instead In the Safari…
-
0
votes1
answer46
viewsValidate a date field in javascript to send to server api
You guys, good morning. I am with a very boring error, I am trying to put a form in Vue.js, however, when I send the information to the server and in java, is breaking a date exception;…
-
0
votes1
answer29
viewsPass Date icon component to parent component
Hello, I have a date with icons imported using the svg-Loader to render the Svgs on the page. But they arrive as { "Functional": true } and do not appear in the final HTML. Here’s an example of what…
-
0
votes0
answers30
viewsLocalstorage, Vuejs. How to recover and add up the value of a Jason/localstorage column
I want to locally persist all sums(val*times) and sum all "sum" results using vuejs. Data to be persisted: data: { nameApp: 'App', somaValor: { id: '', val: '', vezes: '', soma: '' }, }, Data from…
-
0
votes1
answer23
viewsHow to change 2 values by changing the [input type=range] to be rendered on the page? VUEJS
I am trying through Vuejs to change the pages and the corresponding values when moving the input type="range". For example: value: 16$ / 100K PAGESVIEWS, value: 24$ / 500K PAGEVIEWS I would also…
-
0
votes0
answers15
viewsColumn filter containing relationships return name instead of Vuejs ID
Hello, I have an application Laravel api and front Vuejs, in the employee table I have 2 columns 'Nationality and Subcontractor' that make relationship with their respective tables. Each column has…
-
0
votes0
answers9
viewsWhy do I need to locally import Ionic components into Vue if they work without import?
Today I started a project in Ionic and Vue 3. I have no previous experience, so I followed the documentation and some tutorials. Overall, even the project launcher does this local import, so I…
-
0
votes1
answer32
viewsHow to put typing in the return of Object.Keys being the types the Keys of the Object or the interface?
I got the following Interface interface UserState { id: string; isDeleted: boolean; deletedAt: null | string; name: string; email: string; picture: string; } Object const state: UserState = { id:…
-
0
votes0
answers27
views[Vue warn]: Error in render: "Typeerror: Cannot read Property 'image' of Undefined" also Happens Property "name" and "price"
In the Userboard.Ve template I bring the selected product with image, name and price, but does not yield and presents the error: vue.esm.js?a026:628 [Vue warn]: Error in render: "TypeError: Cannot…
-
0
votes0
answers8
viewsLoad Laravel Storage images with Vue
I’m trying to upload an image that is in Storage Storage public app images of my project Readable with a Vue component that I’m using as monolith within the code but not loading <template> #…
-
0
votes0
answers5
viewsHow to format knex date with postgresql
I am using knex together with postgres and created a Migrations table.date('birth').notNull(), in the postgres table when I do a query the date is saved in the format 1996-08-06, but when I call the…
-
-1
votes1
answer56
viewsChange view when clicking on another item?
I’m making an email application and I want when I click the email being viewed to change. What I want to happen is: I want to apply the same function in both parts. As for clicking on the email, if…
-
-1
votes1
answer69
viewsDetect id of an DOM element?
I am developing an application in Vuejs/Quasar and need to discover the id of a certain element using the getElementById, how do I do it in Vuejs??
-
-1
votes2
answers439
viewsAuto Updater Electron
I’m using Electron + VueJS, and would like to know how to implement the auto updater, I did a little research, but I didn’t get anything, to be honest, I didn’t understand how it works, where it…
-
-1
votes1
answer93
viewsCatch domain via Node/Vue.js
I simply want to show the domain that appears there in the URL when accessing the page. window.location.hostname Give me this, only it doesn’t work on Node/Vue.js, so what would be the solution?…
-
-1
votes1
answer42
viewsTools js, CSS and others
I’ve been noticing more and more tools like. Webpack.js, Gulp.js, Node.js, React.js, Less, Sass, jquery, angular. Many as close features. Others not so much. Some may work together, but won’t it…
-
-1
votes1
answer197
viewsVue code not indented in VS Code
Fala galera! I downloaded Visual Code recently and work a lot with Vue type files (A javascript framework), however none of the extensions I downloaded from VS Code identa the code, simply does not…
-
-1
votes2
answers107
viewsDon’t I have to worry about the frontend?
I would need to worry about the vulnerability of frontend or just with the backend?
-
-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…