Small tip. You can use template with v-if/else to avoid unwanted elements in the DOM.
template
v-if/else
Instead of
<div v-if="numberList.length === 5" >
do this
<template v-if="numberList.length === 5" >
Nice tips James! Totally agree!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Small tip. You can use
templatewithv-if/elseto avoid unwanted elements in the DOM.Instead of
do this
Nice tips James! Totally agree!