[Vuejs]-How to get values from a template with slot and slot-scope in Vue?

0👍

If someone helps this, here is my answer:
I only pass the value to create a method like this:

inside from my loop:

<p>{{doSomething(props.item.value)}}</p>

So, I make a method to manipulate the values

 doSomething(value) {
      var something = value / 1000;
      return something + "%";
    },

Leave a comment