ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
>[success] # v-pre `v-pre`用于跳过元素和它的子元素的编译过程,**显示原始的Mustache标签** ![](https://img.kancloud.cn/3f/22/3f22acf06342679d4a8a03a225b6525c_376x111.png) ~~~ <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Document</title> </head> <body> <div id="app"> <div v-pre> <h2>{{ message }}</h2> <p>当前计数: {{ counter }}</p> <p>{{}}</p> </div> </div> <script src="https://unpkg.com/vue@next"></script> <script> // 1.创建app const app = Vue.createApp({ // data: option api data: function () { return { message: 'Hello Vue', counter: 0, } }, }) // 2.挂载app app.mount('#app') </script> </body> </html> ~~~