<div id="app"> <input v-model="value" type="text" @input="input"> <p v-text="msg"></p> </div> <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>