Переглянути джерело

Fix x-spread example

The x-spread example code had a typo with x-data where it was missing '()' at the end of the function name.
Eric Pfeiffer 5 роки тому
батько
коміт
fe1364c8d4
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -529,7 +529,7 @@ These behave exactly like VueJs's transition directives, except they have differ
 ### `x-spread`
 **Example:**
 ```html
-<div x-data="dropdown">
+<div x-data="dropdown()">
     <button x-spread="trigger">Open Dropdown</button>
 
     <span x-spread="dialogue">Dropdown Contents</span>