vue random text code example
Example: how to generate random text in vue js
const recipeData = {
id: Math.ceil(Math.random()*1000000), //randomly generated id
title: this.title,
description: this.description,
imageUrl: this.imageUrl,
ingredientsName: this.ingredientsName,
ingredientsQuantity: this.ingredientsQuantity
};