Skip to content

Commit f02defb

Browse files
committed
chore: update docs
1 parent 3134fb2 commit f02defb

File tree

12 files changed

+19
-27
lines changed

12 files changed

+19
-27
lines changed

docs/.vuepress/components/basic.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<template v-slot:item="{ record, index, dateKey }">
1111
<div class="list-item">
1212
<div class="item-title">
13-
<span class="index">#{{ index }}</span>
13+
<span class="index">#{{ record.index }}</span>
1414
<span class="handle">☰</span>
1515
</div>
1616
<p>{{ record.desc }}</p>

docs/.vuepress/components/group.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<template v-slot:item="{ record, index, dateKey }">
1313
<div class="list-item">
1414
<div class="item-title">
15-
<span class="index"># {{ index }}-{{ record.name }}</span>
15+
<span class="index"># {{ record.index }}-{{ record.name }}</span>
1616
<span class="handle">☰</span>
1717
</div>
1818
</div>
@@ -31,7 +31,7 @@
3131
<template v-slot:item="{ record, index, dateKey }">
3232
<div class="list-item">
3333
<div class="item-title">
34-
<span class="index"># {{ index }}-{{ record.name }}</span>
34+
<span class="index"># {{ record.index }}-{{ record.name }}</span>
3535
<span class="handle">☰</span>
3636
</div>
3737
</div>

docs/.vuepress/components/horizontal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<template v-slot:item="{ record, index, dateKey }">
1313
<div class="list-item">
1414
<div class="item-title">
15-
<span class="index">#{{ index }}</span>
15+
<span class="index">#{{ record.index }}</span>
1616
<span class="handle">☰</span>
1717
</div>
1818
<p>{{ record.desc }}</p>

docs/.vuepress/components/infinity.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<template v-slot:item="{ record, index, dateKey }">
1212
<div class="list-item">
1313
<div class="item-title">
14-
<span class="index">#{{ index }}</span>
14+
<span class="index">#{{ record.index }}</span>
1515
<span class="handle">☰</span>
1616
</div>
1717
<p>{{ record.desc }}</p>

docs/.vuepress/components/scroller.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<template v-slot:item="{ record, index, dateKey }">
1212
<div class="list-item">
1313
<div class="item-title">
14-
<span class="index">#{{ index }}</span>
14+
<span class="index">#{{ record.index }}</span>
1515
<span class="handle">☰</span>
1616
</div>
1717
<p>{{ record.desc }}</p>

docs/.vuepress/components/scrollto.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<template v-slot:item="{ record, index, dateKey }">
2323
<div class="list-item">
2424
<div class="item-title">
25-
<span class="index">#{{ index }}</span>
25+
<span class="index">#{{ record.index }}</span>
2626
<span class="handle">☰</span>
2727
</div>
2828
<p>{{ record.desc }}</p>

docs/.vuepress/components/tablemode.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<template v-slot:item="{ record, index, dateKey }">
2121
<tr>
2222
<td>
23-
<span class="index">#{{ index }}</span>
23+
<span class="index">#{{ record.index }}</span>
2424
<span class="handle">☰</span>
2525
</td>
2626
<td>{{ record.name }}</td>

docs/.vuepress/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module.exports = {
2-
base: '/vue-virtual-drag-list/',
2+
base: '/vue-virtual-sortable/',
33
lang: 'en-US',
4-
title: 'vue-virtual-drag-list',
4+
title: 'vue-virtual-sortable',
55
description: 'A virtual scrolling list component that can be sorted by dragging',
66

77
themeConfig: {
8-
repo: 'mfuu/vue-virtual-drag-list',
8+
repo: 'mfuu/vue-virtual-sortable',
99

1010
footer: {
1111
message: 'Released under the MIT License.',

docs/.vuepress/enhanceApp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default ({ Vue, options, router, siteData }) => {
22
Vue.mixin({
33
mounted() {
4-
import('../../dist/virtual-drag-list').then(function (m) {
4+
import('../../dist/virtual-list').then(function (m) {
55
Vue.component(m.default);
66
});
77
},

docs/guide/install.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
## Installation
44

55
```sh [npm]
6-
$ npm i vue-virtual-draglist
6+
$ npm i vue-virtual-sortable
77
```
88

99
```sh [yarn]
10-
$ yarn add vue-virtual-draglist
10+
$ yarn add vue-virtual-sortable
1111
```
1212

1313
## Simple Usage
@@ -25,7 +25,7 @@ $ yarn add vue-virtual-draglist
2525
</template>
2626
2727
<script>
28-
import virtualList from 'vue-virtual-draglist';
28+
import virtualList from 'vue-virtual-sortable';
2929
import { reactive, toRefs } from 'vue';
3030
export default {
3131
components: {

0 commit comments

Comments
 (0)