Browse Source

Merge pull request #1341 from jeroenvanrensen/patch-1

Update README.md
Caleb Porzio 3 năm trước cách đây
mục cha
commit
ffba225470
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.