Skip to content

Commit

Permalink
docs: fix dep path
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonYong committed Apr 27, 2024
1 parent d300afa commit f5b0eaa
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/hooks/src/useInfiniteScroll/demo/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</template>

<script lang="ts" setup>
import { useInfiniteScroll } from '../../index'
import { useInfiniteScroll } from 'vue-hooks-plus'
interface Result {
list: string[]
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useInfiniteScroll/demo/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<script lang="ts" setup>
import { computed } from 'vue'
import { useInfiniteScroll } from '../../index'
import { useInfiniteScroll } from 'vue-hooks-plus'
interface Result {
list: string[]
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useInfiniteScroll/demo/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<script lang="ts" setup>
import { ref } from 'vue'
import { useInfiniteScroll } from '../../index'
import { useInfiniteScroll } from 'vue-hooks-plus'
interface Result {
list: string[]
Expand Down
5 changes: 3 additions & 2 deletions packages/hooks/src/useInfiniteScroll/demo/demo3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<vhp-button @click="() => reload()" style="margin-bottom: 8px;"> Reset </vhp-button>
<div style="margin-bottom: 16px;"
>Change will be reset:<input type="text" v-model="text"
></div>
/></div>

<p v-if="loading" />
<div
v-for="item in data?.list"
Expand All @@ -28,7 +29,7 @@

<script lang="ts" setup>
import { ref } from 'vue'
import { useInfiniteScroll } from '../../index'
import { useInfiniteScroll } from 'vue-hooks-plus'
interface Result {
list: string[]
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useInfiniteScroll/demo/demo4.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</template>

<script lang="ts" setup>
import { useInfiniteScroll, useRequest } from '../../index'
import { useInfiniteScroll, useRequest } from 'vue-hooks-plus'
interface Result {
list: string[]
Expand Down

0 comments on commit f5b0eaa

Please sign in to comment.