Ver Fonte

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 há 5 anos atrás
pai
commit
fe1364c8d4
1 ficheiros alterados com 1 adições e 1 exclusões
  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>