0👍
You can declare a variable and set it value to minimum value and then whenever component render again it will set it value to its minimum value.
Hope you get what you want .
0👍
Easiest solution should be using v-once
template directive.
See also VueJS render once into an element.
- [Vuejs]-Vue renders html incorrectly
- [Vuejs]-Marked library in Vue 3 throwing marked__WEBPACK_IMPORTED_MODULE_0__.default error
Source:stackexchange.com