当前位置: 代码迷 >> 综合 >> [ts] .vite/vue.js oes not provide an export named ‘PropType‘
  详细解决方案

[ts] .vite/vue.js oes not provide an export named ‘PropType‘

热度:88   发布时间:2023-12-12 01:14:18.0

enviroment

vite
vue3
set-up mode

error

import {
     defineProps, PropType, ref, computed} from "vue";
defineProps({
    titleInfo: {
     type: Object as PropType<TitleInfo
  相关解决方案