The problem with typescript+vue

The

project uses the typescript style, and then customizes a component, but when called, did you register the component correctly? is reported. For recursive components, make sure to provide the "name" option.? Define the name of the component? But
< template lang="pug" >
div
< / template >

< script lang="ts" >
import {Component, Vue} from "vue-property-decorator";
@ Component
export default class extends Vue {}
< / script >

< style lang="less" scoped >

< / style >
ask this name to write like this!

Dec.21,2021

it's not the fault here. The mistake of
is a registration component naming problem


@Component({
  name: 'comp-name'
})
export default class extends Vue {}
.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf4991-31f15.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf4991-31f15.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?