Skip to content

Commit

Permalink
chore(examples): fix composition api example (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaggyTech authored and kevinmarrec committed May 2, 2020
1 parent bc645c9 commit 427697c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/composition-api/minimal/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
</template>

<script lang="ts">
import { createComponent, ref } from '@vue/composition-api'
import { defineComponent, ref } from '@vue/composition-api'
export default createComponent({
export default defineComponent({
setup () {
const message = ref('This is a message')
Expand Down

0 comments on commit 427697c

Please sign in to comment.