I have implemented the class API based on setup, which is friendly to TS types and supports vue2 and vue3
See original GitHub issuevue-class-component
has been widely used in our projects. vue-class-setup hopes to get official support and further promote the best practices of Vue class. @ktsn
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:11
Top Results From Across the Web
How to use Vue 3 with TypeScript - LogRocket Blog
Build an example Vue app in TypeScript with class-based components, Vuex for state management, lifecycle hooks, and more.
Read more >Using Vue with TypeScript - Vue.js
Vue is written in TypeScript itself and provides first-class TypeScript support. All official Vue packages come with bundled type declarations that should work ......
Read more >Vue 3.0 support · Issue #294 - GitHub
Hi, do you plan to support this project when 3.0 arrives? Or the Vue core team would integrate classes API natively?
Read more >What's new in Vue 3 — a roundup. Vue 3 - Medium
Having said vue doesn't have plans to deprecate options API anytime soon. Why should we care about composition API? Vue 2 supports a...
Read more >Vue 3 Tutorial (for Vue 2 Users) - Vue.js Developers
What we'll build; Vue 3 installation and setup; Creating a new Vue 3 app; Adding state properties; Using a root component ...
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 FreeTop 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
Top GitHub Comments
Love it - will give it a try
vue-class-setup正是所需要的。nice!