Just started with vue, I have simple php echo on article title and i want to work with it in vue and change value for example.
<div id="app">
<p><?php echo $title; ?></p>
</div>
Every example I have found used props and template, but it would force me to create html structure in js and alter the existing in html file, that I want to avoid.
CodePen: https://codepen.io/janheder/pen/oywpbW
This is what it would look like in jquery but I understand that vue works differently.
$('#app p').text("lorem ipsum");