mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix(docs): correct import defineComponent
This commit is contained in:
parent
2c80f15a81
commit
a9b8c37614
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user