I've got this code in phtml file:
<script type="text/x-magento-init">
{
"*": {
"Magento_Ui/js/core/app": {
"components": {
"livePriceComponent": {
"component": "LivePrice"
}
}
}
}
}
Now, I want to pass some config variables to the LivePrice component. How do I do it using the code above?