Procházet zdrojové kódy

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 před 5 roky
rodič
revize
fe1364c8d4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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>