menu

Recent questions tagged vue

1 vote
1 answer
image
How do I protect the data sent from the backend to the frontend of the online game browser? In many online games, there is a game crash. Can you please tell me how data is transmitted in vue js. If it's sent over a web socket, how to protect it. After all, t ...
by jaygen
asked Sep 24, 2021
1 vote
2 answers
Why doesn't watch work? When using the setParams method, the watch section does not work What could be the problem? props: { section:{ type: Object, default: false }, ...
by fortoster82
asked Sep 24, 2021
1 vote
1 answer
How do I update the data on the page when I update the data in the store? Receiving data from a websocket in the store: store.js : state: { socket: { isConnected: false, message: '', wsData: {}, reconnectError: false, } ...
by hitakiri
asked Sep 24, 2021
3 votes
3 answers
How can I use .env files in Quasar? Application using Quasar. I need to use the url from the .env file in axios, where the url How can this be done? Please give me an example Here's what I tried to do ...
by postya
asked Sep 24, 2021
1 vote
1 answer
Vue can I put a cookie on watch? I want the page itself to return to the login page if the cookie has expired or the user has deleted the cookie by hand, is it possible to put watch on cookies? Or how t ...
by dauren101
asked Sep 24, 2021
2 votes
2 answers
How to solve this problem? Good evening! I need to write a reusable component to display SVG, if anything I use vue-svg-loader to import vector graphics. I'll send you the code right away: < ...
by estluced
asked Sep 24, 2021
1 vote
1 answer
Can I get the data from the root tag? <div id="vuejs-app" var1="a" var2="b"> I need the data of attributes a and b . I've written props, I've looked in $root =( ...
by Arik
asked Sep 23, 2021
1 vote
1 answer
How do I customize the Vue Carousel 3D slider? I ran into a problem the first time I used the Vue Carousel 3D slider. I have no idea how to put an image instead of a gray background. The usual img didn't work for me ...
by bbbbb123654
asked Sep 23, 2021
1 vote
1 answer
Common error handler for requests in vue? Suppose there is a component with a bunch of methods that access the api error handling via try catch But that's a lot of code. Is there some other way to do it? More ...
by fessss
asked Sep 22, 2021
1 vote
1 answer
image
How do I read data from vue dadata? Yes, there are off.module for vue from dadata.ru , <template> <div id="app"> <vue-dadata token="dadata_api_key"></vue-dadata> </div> ...
by reinmaker1990
asked Sep 22, 2021
1 vote
1 answer
The Vue component stopped updating, what's the problem? The component does not update. The problem is that in the application, on the Cart tab (filled in from the cart store module) the quantity of goods is not updated. But i ...
by sir_pounce
asked Sep 22, 2021
1 vote
1 answer
How do I access a property of another component in Vue? Vue 2.x, Webpack, the application is built on single-file components. I can't figure out how Webpack builds it all. The task is this. I wanted to make a wrapper (load ...
by alenov
asked Sep 22, 2021
1 vote
1 answer
Vue-bootstrap4-table select row? Installed this extension on VUe https://rubanraj54.gitbook.io/vue-bootstrap4-table... Can you please tell me how to trace the row selection? To add its array when yo ...
by dauren101
asked Sep 22, 2021
1 vote
1 answer
How do I transfer different components in a VUE to another? There is a single-type API, it gives resources in lists. Only the lists themselves are different. And so I tried to make a common component that loads the list according ...
by grabbee
asked Sep 22, 2021
1 vote
1 answer
How do I access an element attribute for a conditional class assignment? Suppose there is a list of items. <li class="tile red" data-tile="1"></li><li class="tile blue" data-tile="2"></li><li class="tile yellow" da ...
by Zhanna_K
asked Sep 22, 2021
1 vote
1 answer
How to use ResizeObserver correctly? Hello, ran into the problem of violating one of the principles of good code such as DRY: For example, I have a layout in which I use an observer: <template> &l ...
by Gumper
asked Sep 22, 2021
1 vote
1 answer
Is it worth implementing smart components? Is it worth implementing smart components? Or how not to get into pain. After studying some of the VUE recommendations and what I found on the internet. There is su ...
by IgorPI
asked Sep 22, 2021
1 vote
2 answers
Will a filter written in vue be indexed by a SEO robot? Hello, I have a product category with a filter written in vue. How will search engines react to it? As far as I know, that for search engines filters on category pages i ...
by mr_Koch
asked Sep 22, 2021
3 votes
1 answer
How do I call a method in another VueJS component that is on the same level? Good evening, I need to call a method in another VueJS component that is on the same level, can you catch it grammatically? i.e., call a method from a child using emit ...
by IgorBydanov
asked Sep 22, 2021
1 vote
1 answer
How do I render components as I load data for them? The situation in a simplified form is as follows: there is a component inside which you want to output two child components and pass them the same common parameter: &l ...
by Zhuroff
asked Sep 21, 2021