Skip to content

Commit 7ecde38

Browse files
Nargonathktsn
authored andcommitted
Fix README mixin usage (#292)
The mixin is exported as a named export but used as a default export.
1 parent 29e9c79 commit 7ecde38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ import Component from 'vue-class-component'
8989

9090
// You can declare a mixin as the same style as components.
9191
@Component
92-
export class MyMixin extends Vue {
92+
export default class MyMixin extends Vue {
9393
mixinValue = 'Hello'
9494
}
9595
```

0 commit comments

Comments
 (0)