element-plus —— 如何对elementUI-plus进行debugger

发布时间 2023-04-08 02:09:22作者: 。思索

前言

无论什么UI其实操作都一样,至于为什么debugger,那肯定是有问题而且涉及到源码了,哈哈哈;

内容

引入组件后在对应的组件里面进行debugger即可

<template>
    <el-select></el-select>
    <el-dialog
        v-model="dialogVisible"
        title="Tips"
        width="30%"
        append-to-body>
        <h1>新组件</h1>
        <el-select></el-select>
    </el-dialog>
</template>
<script setup lang="ts">
import ElSelect from '../../node_modules/element-plus/es/components/select/index.mjs'
import { ref } from 'vue'
const dialogVisible = ref(true)
</script>