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
-
-1
votes1
answer92
viewsHow to use the values of a PHP variable in an external javascript script
I want to use vuejs in a system made in php with MVC, I want to take an accessible array on the page and move to javascrip at the time of the load, so that it manipulates the display. I know you can…
-
-1
votes1
answer79
viewsHow to add two values within a v-select?
Ex: let caracteristica = { id_caracteristica: 2, caracteristicas: "exCaracteristica" } <v-flex xs12 sm3 md6> <v-select v-model="selectdCaracteristica" label="Caracteristicas"…
-
-1
votes1
answer30
viewsHow to know if the MODEL value is a file?
I need to know if the value that is in a screen MODEL property is a file. How could I do this in javascript?…
-
-1
votes1
answer43
viewsI can’t pass the products I select in Home.Ve to Header in Vue
Hello, I’m doing an e-commerce system in Vue, but I’m having a hard time passing the object of my JSON, which is in the Home.Ve component to the cart icon that is in another component, in…
-
-1
votes1
answer395
viewsVuejs - attaching a PDF file for download
I am creating my portfolio in vuejs, created a link to make the file available for download (pdf) but is downloading html. home -views --home Folder organization (pdf file) -Assets --pdf html <a…
-
-1
votes2
answers35
viewsAccess static link on Node using authentication
In my backend I have this: app.use('/files', express.static('upload')) Generating static image and pdf links for users to access. In my frontend I put a button where the user can display the static…
-
-1
votes1
answer66
viewsRap sheet on top of each other!
I have a problem. I’m using the lokijs with vuejs, to register a user via modal, so far so good, only that every time I register a new user, this new registration replaces the old one. How do I fix…
-
-1
votes1
answer215
viewsProblem with routes in the Axios + Aravel
I’m using vue.js with axios to make Cruds but I have a question about routes. I have the following routes: | DELETE | admin/deleteprod/{id} | componet_3.produtos |…
-
-1
votes1
answer92
viewsHow to filter with javascript
I have an array of objects and I want to filter the properties and return only the properties with the lat and Lon greater than 0 How do I do it? How do I access lat and Lot? I tried something like…
-
-1
votes1
answer381
viewsV-icon is not working on vuetify
People who use vuetify, the v-icon is not working as it should. I put the image 1 there that you can see that you don’t recognize the icons of the material design. To better understand, I created a…
-
-1
votes1
answer73
viewsEmit not working
code father: <template> <div class="col-6"> <span @changeTitle="changeTitle($event)"> table -[{{title}}]</span><br> <ModalRegistert /> </div>…
-
-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
votes2
answers145
viewsVue - instance variables does not work
I am migrating my project to Vue-cli and the instance variables are not working: main.js Vue.$storage = Vue.prototype.$storage = new SecureLs({encodingType: 'rc4', isCompression: true,…
vue.jsasked 4 years, 11 months ago Philipe Nascimento 19 -
-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
answer326
viewsSite Vue.js in production does not load complementary files
I have a project in Vue.js. I ran the npm run build to generate the files that will go up to the production server. But when I open index.html the browser does not render anything and running the…
-
-1
votes1
answer79
viewsVuejs container application does not render?
So, I made a container of a Vuejs application and it goes up without problem, but when accessing localhost:8080, this appears: Follow the dockerfile: FROM node:lts-alpine # install simple http…
-
-1
votes1
answer102
viewsHow to keep part of a v-model(string) fixed in an input with Vuejs!
I have an input text with its respective model, but I need a part of this value to be fixed, for example: /static/download.jpg the idea is that the user can only change the text that is after…
-
-1
votes1
answer261
viewsBlock access to Vue js routes if you are not logged in
I am unable to block routes are going through normal without authentication I am developing a Dashboard and came to doubt how to prohibit access to routes if not logged in, with this, I thought of…
-
-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
answer180
viewsGroup information with Vue
Hello! I’m studying And at the same time trying to apply what I’m learning in a project. A difficulty has arisen. I have a list of checkboxes with the brands of the vehicles, when I click will load…
vue.jsasked 4 years, 9 months ago Thiago Porto 292 -
-1
votes1
answer152
viewsRestricting access to routes if the user is not logged in Vuejs
I am unable to block routes are going through normal without authentication I am developing a web application and I have a question about how to prohibit access to routes if they are not logged in,…
-
-1
votes1
answer370
viewsHow to leave values already filled in the input (VUE Js)
I’m doing a simple CRUD, with Vue, Node, Mariadb. In the update part, I don’t know how to take the user values and leave already filled. (I’m beginner) <div> <p>Nome</p> <input…
-
-1
votes1
answer66
viewsfontawesome with vuetify
I’m initiating a VUEJ+vuetify project. I implemented the fontawesome package to use the free icons they made available. however, all the components rendered in the browser that use some icon, I’m…
-
-1
votes1
answer1981
viewsProblem with CORS - Preflight (get works, post does not)
Does anyone know how I can solve this CORS problem? Because honestly I tried a lot and I could not, I already put in the backend (php) ACCESS-CONTROL-ALLOW-ORIGIN * and others, even so the error…
-
-1
votes1
answer112
viewsVue.js edit post by id
I’m starting with Vue.js and am loading some database posts on the screen with v-for Vue.js. I have two functionalities (edit and delete) on two separate buttons under each post. The delete feature…
-
-1
votes1
answer27
viewsVuejs: no-unused-vars
I have a simple code in Vuejs and I need to import a component. I took a look at the documentation and looked it up online, but I can’t see where I’m going wrong. From what I understand, just use…
-
-1
votes1
answer98
viewsFilter in more than one column
Good afternoon guys, I made a table that has its data iterated through v-for, it occurs that I need to filter this table by column I found the function filter however I can only filter one want to…
-
-1
votes1
answer93
viewsImport a js library into Vuejs
I’m having trouble importing the js libraries in vuejs I’m always getting the following error on the console. I am loading them in the index.html file of the public folder <script…
-
-1
votes3
answers551
viewsTernary operator Vue.js within Tag
I am creating a Vuejs Component that I want to send a property to Component to display or hide an attribute inside the tag using ternary operator. Double Quotes do not work inside the tag. The…
-
-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
answer110
viewsRestrict routes Vue router
I am working on an article posting application and would like the user to have access to edit only their projects. Currently, if I change the article id manually, I have access to edit content from…
-
-1
votes1
answer26
viewsCreation of Global Vue component
Good afternoon.. I’m having the following error when trying to create a global component with VUEJS.. main.js import Vue from 'vue' import App from './App.vue' import vuetify from…
-
-1
votes1
answer60
viewsMinimum and Maximum Range Filter - JSON
good night. I am creating a project in Vue.JS 2x, where I re-screen a list of users from a JSON, I am consuming this JSON through a FAKE API REST, by the JSON-SERVER package. I need to create a…
-
-1
votes1
answer120
viewsClose menu by clicking outside item on Vue.js 3
I have a component that has a menu that opens and closes when you click on it, it works fine, but I want it to close when I click off it, n know how to do it inside See, the right way, I call this…
-
-1
votes1
answer269
viewsError generating Vue Bundle: Module parse failed: Unexpected token (1:0)
I’m trying to install Vue in a project made in php without framework, what I want is to transform parts of the template into components (menu, top.). When trying to generate Bundle I have this…
-
-1
votes1
answer117
viewspagination in Vue js
I am observing the url parameter to make a pagination in Vue.js3 In my onMounted I take the parameter and look for the parameter’s reference page in the Beck end (if it is 1 I will fetch the first…
-
-1
votes2
answers31
viewsRender different Vue.JS components within a v-for directive
I wonder how I could use a v-for to render different Vue components. I’m using Internet (I say this because I don’t know if Inertia has any function that can help). Being more specific and giving an…
-
-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:…
-
-1
votes1
answer25
viewsHow can I avoid intermittent Cors errors with Axios and Vue.js requests?
I have an application developed in Vue.js that performs requests through Axios for an api developed in Node.js with express. My problem is that in 3% of requests CORS is blocked by locking the…
-
-1
votes0
answers10
viewsMultiple Images Binary
Hello person I’m having a problem, I have to select 3 different images (* currently only taken 1 as per image below) and add them in an array however this array has to be with binary images, I did…
-
-1
votes0
answers14
viewsAccess direct URL after compiled
Often there is a need to access a direct URL on a system, for example, www.site.com/registration, www.site.com/forgot password, those things In the meantime, I’m using Vue.js with the Vuetify…
-
-1
votes0
answers25
viewsI would like to know how to create a button Udemy style that when you finish watching the video show that it’s over
[ { "episode": "ep1", "cover": "https://eduardorojas.com.br/clientes/prismafs/recursos/img/capa1.png", "video": "https://eduardorojas.com.br/clientes/prismafs/productive/videos/ep01.mp4", "Thumb"…
-
-1
votes0
answers16
viewsNotfound error while downloading a file while trying to download it with Laravel 8
I’m really not understanding, the links work the files exist but it gives a Filenotfoundexception when I try to download using the Internet with vuejs File not found at path:…
-
-1
votes0
answers4
viewsNuxt PWA with directory errors
After a while without playing around with Nuxtjs today I decided to start a project in it with PWA support, everything installed and the template was created almost as usual, missing only a…
-
-2
votes2
answers335
viewsHow to insert space in Camelcase string?
I’m looking for a way to separate string from an array object, coming from an API, for example: Pageviews, get Page Views, I’m using VUEJS.
-
-2
votes1
answer96
viewsNode.js with Vue.js
Node and vuejs can complement each other ? It is normal to use vuejs, Node.js and espressJS together ? In my view are 3 different frameworks, but it makes sense to use them together ?
-
-2
votes1
answer51
viewsHow do I leave my objects in static JS?
I’ll explain what’s going on, well when I create an application with vuejs or React, I use fetch to retrieve information from the api and then pass the data within a state (in the case of vuejs I…
-
-2
votes1
answer494
viewsProblem with v-col Vuetify
Hello I’m having a problem with the vuetify Gride system. I’m using lg for viewing on my machine, however when using Xs or Sm for mobile devices is giving no effect. In the resolution of my machine…
-
-2
votes1
answer132
viewsManipulating XML text to display the user with javascript vuejs
Hello, I have a text area that the user will insert the pasted XML text, to register an API. and after that I need to render to the user the xml formatted with the fields. is there any lib that…
-
-2
votes0
answers18
viewsHow to generate html dynamically from Vuejs?
Would you like to know if Vuejs generates HTML dynamically from a certain result? For example result of a v-if: aquivo: index.Vue <template> .... </template> <script> export…
vue.jsasked 3 years, 1 month ago Luiz Notari 11