Skip to content

Commit

Permalink
docs: update import format of vue
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsn committed Feb 4, 2018
1 parent 8111203 commit 0b18bc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -32,7 +32,7 @@ For example, if there is the following component:
</template>

<script lang="ts">
import Vue = require('vue')
import Vue from 'vue'
import Component from 'vue-class-component'
@Component
Expand All @@ -45,7 +45,7 @@ export default class MyComp extends Vue {
You will acquire the following declaration file:

```ts
import Vue = require('vue');
import Vue from 'vue';
export default class MyComp extends Vue {
message: string;
}
Expand Down

0 comments on commit 0b18bc1

Please sign in to comment.