<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>模板语法 on Roam Tech-verse | Roamverse Technical Blog</title>
    <link>/notes/vue/single-instance/template-syntax/</link>
    <description>Recent content in 模板语法 on Roam Tech-verse | Roamverse Technical Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>Copyright © 2020-2026 Razon Yang. All Rights Reserved.
</copyright><atom:link href="/notes/vue/single-instance/template-syntax/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Vue 插值语法</title>
      <link>/notes/vue/single-instance/template-syntax/interpolation/</link>
      <pubDate>Sat, 19 Aug 2023 10:36:30 +0000</pubDate>
      <guid>/notes/vue/single-instance/template-syntax/interpolation/</guid>
      <description><![CDATA[<h1 id="文本插值" data-numberify>文本插值<a class="anchor ms-1" href="#文本插值"></a></h1>
<p>数据绑定最常见的形式就是<strong>文本插值</strong>。</p>
<p>在HTML标签体中，使用两个花括号<code>{{ }}</code>将JS表达式引起来。文本插值含义是将JS表达式的结果作为文本显示到页面中；并不是指JS表达式的结果为文本。</p>]]></description>
    </item>
    
    <item>
      <title>Vue 模板语法</title>
      <link>/notes/vue/single-instance/template-syntax/introduction/</link>
      <pubDate>Sat, 19 Aug 2023 10:36:30 +0000</pubDate>
      <guid>/notes/vue/single-instance/template-syntax/introduction/</guid>
      <description><![CDATA[<p>Vue.js 使用了基于 HTML 的模板语法，允许开发者声明式地将 DOM 绑定至底层 Vue 实例的数据。结合响应系统，在应用状态改变时， Vue 能够智能地计算出重新渲染组件的最小代价并应用到 DOM 操作上。</p>]]></description>
    </item>
    
    <item>
      <title>Vue 指令语法</title>
      <link>/notes/vue/single-instance/template-syntax/directives/</link>
      <pubDate>Sat, 19 Aug 2023 10:36:30 +0000</pubDate>
      <guid>/notes/vue/single-instance/template-syntax/directives/</guid>
      <description><![CDATA[<p>指令是指在Vue模板中由Vue原型对象或用户自定义的、带有<code>v-</code>前缀的特殊HTML属性。指令可以用于解析标签（包括标签属性、标签内容、绑定事件等等）。</p>]]></description>
    </item>
    
  </channel>
</rss>

