javascript - Laravel app.js node package display variable to blade component

I have a single string I want to output to my component but I have no idea on how to output.
This is my app.js
const Quote = require("inspirational-quotes");
const randomQuoteOfTheDay = Quote.getRandomQuote();
This is the data that the function returns which is I want to display in my blade component.
{
"text":"My number one piece of advice is: you should learn how to program.",
"author":"Mark Zuckerberg, founder of Facebook"
}
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: mark bundle as not supporting multiuse
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.