vue-class-component support
See original GitHub issueIs vue-class-component support is available?
Docs does not have any information about it.
If it is not available, do you have any plans about it?
Things I have tried:
// @vue/component
export default class Comment extends Vue {
get computedValue () {
console.log(12)
}
}
This does not work. However, linting export default {} components works fine.
Here’s my full setup: https://github.com/wemake-services/wemake-vue-template
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Vue Class Component: Overview
Vue Class Component is a library that lets you make your Vue components in class-style syntax. For example, below is a simple counter...
Read more >Vue 3.0 support · Issue #402 · vuejs/vue-class-component
This issue is a question regarding the status of vue-class-component which is aimed for Class-based Typescript users when the Vue3.0 is ...
Read more >You should be using Vue Class Component
To create a project using Vue Class Component from scratch, you just need to follow Vue CLI steps, make sure to manually select...
Read more >vue-class-component - npm
ES201X/TypeScript class decorator for Vue components. Latest version: 7.2.6, last published: 2 years ago. Start using vue-class-component in ...
Read more >From vue-class-component to Composition API
First of all, we want to convert components. Every Vue component in your current codebase is probably a class, marked with @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 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

@Alendorff recently i’m fixing issues in https://github.com/JamesHenry/typescript-estree and https://github.com/eslint/typescript-eslint-parser to make it possible, it’s going to take some time but we are on good path
It would require lots of tweaking. AST of Class is different than Object. I didn’t give it a thought yet. But it might be wise to reconsider.