浏览代码

Merge pull request #1341 from jeroenvanrensen/patch-1

Update README.md
Caleb Porzio 3 年之前
父节点
当前提交
ffba225470
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -178,7 +178,7 @@ And 6 magic properties:
 
 **Structure:** `<div x-data="[object literal]">...</div>`
 
-`x-data` declares a new component scope. It tells the framework to initialize a new component with the following data object.
+`x-data` declares a new component scope. It tells the framework to initialize a new component with the following data object. It's also possible to leave it empty when you don't have any data in your component.
 
 Think of it like the `data` property of a Vue component.