一丶v-pre
- v-pre用于跳过这个元素和它子元素的编译过程,用于显示原来的Mustache语法
二丶代码实战
<html lang&#61;"en">
<head><meta charset&#61;"UTF-8"><title>Titletitle>
head>
<body>
<script src&#61;"https://cdn.jsdelivr.net/npm/vue/dist/vue.js">script><div id&#61;"app"><p>{{message}}p><p v-pre>{{message}}p>
div>
<script>const app &#61; new Vue({el:"#app",data:{message:"Hello Ting,I am Key!"}})
script>
body>
html>
三丶运行结果