Posts by Carlos Leutz • 96 points
6 posts
-
0
votes1
answer41
viewsA: Attribute v-on:click n works when set in vuejs 3
First you can create a component that collapses, and call this component in your vew. Then you can use 'v-for' which is a Vue.js directive to make a loop, this loop must receive the json…
-
1
votes1
answer80
viewsA: Error redirecting user to login page with Vue 3
I managed to solve in a very simple way until I made the mount in #app and if the user has no token i pass router.push({ name: "Login" }) my login wheel…
-
2
votes1
answer80
viewsQ: Error redirecting user to login page with Vue 3
good afternoon, I am getting the following error while trying to redirect the user to the login page, on Vue js 3 This page checks if the user has a token to see if they are logged in. If they are…
-
0
votes2
answers3367
viewsA: What are the differences between Viewbag, Viewdata and Tempdata?
Viewdata and Viewbag serve to carry small amounts of data between views or controllers for views. In Viewdata the data travels from the controller to the view through a dictionary…
-
1
votes2
answers140
viewsQ: Add an action to a <select>
I have the following "type" button in the image, when I click it opens a dropdonw, when I click an item in the dropdonw opens a collapser with more options. I need that when selecting the option in…
-
2
votes2
answers106
viewsQ: How to put the response of a function as a parameter in another function?
const soma = function (a,b) {return a+b} console.log(soma(2,4)) let nun1 = 3 const soma2 = function (soma, nun1) {return soma+nun1} I want to get the result of the sum function which is 6 and somar…