Skip to content

Commit 69f9414

Browse files
committed
feat: up to 1.0.8
1 parent 15c23d3 commit 69f9414

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737
- Type: `null`, `string`, `array`, `object`, `RegExp`
3838
- Default: `null`
3939

40-
Specify folders that display reading progress bar
40+
Specify regularPath that display reading progress bar
4141

4242
example
4343
``` js
@@ -52,7 +52,8 @@ example
5252
posts3: 'left'
5353
}
5454
// or RegExp
55-
readingDir: /[^\/]+$/ // exclude regularPath ending with /
55+
readingDir: /[^\/]+$/ // exclude regularPath end with `/`
56+
// or
5657
readingDir: new RegExp('[^\/]+$')
5758
}
5859
```

ReadingProgress.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
<script>
88
export default {
9+
name: 'ReadingProgress',
910
data () {
1011
return {
1112
readingTop: 0,

enhanceAppFile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ReadingProgress from './ReadingProgress.vue'
22

33
export default ({ Vue }) => {
4-
Vue.component('ReadingProgress', ReadingProgress)
4+
Vue.component(ReadingProgress.name, ReadingProgress)
55
Vue.mixin({
66
computed: {
77
$readingShow() {

0 commit comments

Comments
 (0)