Skip to content

Commit

Permalink
Merge pull request #1341 from jeroenvanrensen/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
calebporzio committed Jun 11, 2021
2 parents 0713695 + 6d2dda8 commit ffba225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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.

Expand Down

0 comments on commit ffba225

Please sign in to comment.