You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { Component, Vue } from 'vue-property-decorator'
import { Button } from 'ant-design-vue'
@Component
export default class Home extends Vue {
protected render() {
return (
<div class="Home">
<Button>Button</Button>
</div>
)
}
}
9:5 JSX element type 'Button' is not a constructor function for JSX elements.
Type 'Button' is missing the following properties from type 'ElementClass': $el, $options, $parent, $root, and 29 more.
7 | return (
8 | <div class="Home">
> 9 | <Button>Button</Button>
| ^
10 | </div>
11 | )
12 | }
Version: typescript 3.7.5
node v10.15.1
@vue/cli 4.1.1
###请问出现如下错误是少了什么配置吗?
The text was updated successfully, but these errors were encountered:
package.json
tsconfig.json
node v10.15.1
@vue/cli 4.1.1
###请问出现如下错误是少了什么配置吗?
The text was updated successfully, but these errors were encountered: