1👍
Run following snippet! — Type something in textbox it will change the title accordingly.
new Vue({
el:"#app",
data:{
title:"Hello!"
}
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.min.js"></script>
<div class="alert alert-success" id="app" role="alert">
<h4 class="alert-heading">{{ title }}</h4>
<p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>
<hr>
<p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
Change Title : <input type="text" v-model="title">
</div>
Source:stackexchange.com