Caleb Porzio 3 년 전
부모
커밋
bb75ac3011
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/docs/src/en/plugins/persist.md

+ 1 - 1
packages/docs/src/en/plugins/persist.md

@@ -64,7 +64,7 @@ You can wrap any value inside `x-data` with `$persist` like below to persist its
 
 <!-- START_VERBATIM -->
 <div class="demo">
-    <div x-data="{ count: $persist('0').as('yoyo') }">
+    <div x-data="{ count: $persist('0') }">
         <button x-on:click="count++">Increment</button>
         <span x-text="count"></span>
     </div>