Class based vue
See original GitHub issueIm using classes with Vue to take advantage of TypeScript and because component is typed as Object when it receives the class based component it is a Function this throws a warning(its just a warning so it still works fine).
[Vue warn]: Invalid prop: type check failed for prop "component". Expected Object, got Function
Would be nice to get Function added as an acceptable type. Great library by the way!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Vue Class Component: Overview
By defining your component in class-style, you not only change the syntax but also can utilize some ECMAScript language features such as class...
Read more >How To Write Class-Based Components with Vue.js and ...
A class component is a TypeScript class that extends the Vue object. In single-file components, make sure you set the <script> language to...
Read more >You should be using Vue Class Component
Vue Class Component provides a decorator where we can define the components and the properties of our component, which makes sense, since they ......
Read more >vuejs/vue-class-component - GitHub
ECMAScript / TypeScript decorator for class-style Vue components. npm Gitpod Ready-to-Code. Document. See https://class-component.vuejs.org.
Read more >How to use TypeScript to Create Vue Apps with Vue Class ...
Introducing Vue Class Based Components. We can start using class-based components by creating a project with the Vue CLI. To do this, we...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @dennmat-hurdle;
Your issue has been fixed by @mediv0, it is availabie in 1.1.1.
I’m closing this right now, feel free to re-open if needed. 👋
Actually made an RP, to avoid wasting time @Tahul pls check