fix(docs): correct import defineComponent

This commit is contained in:
HerringtonDarkholme 2020-07-28 18:31:59 +08:00 committed by zazzaz
parent 2c80f15a81
commit a9b8c37614

View File

@ -27,9 +27,10 @@
</div>
</template>
<script>
import Vue from 'vue'
const basic = Vue.defineComoponent({
<script lang="ts">
import {defineComponent} from 'vue'
const basic = defineComponent({
data() {
return {
items: [