Skip to content

Support for the experimental syntax 'decorators-legacy' isn't currently enabled #78

@johannes-z

Description

@johannes-z

Running vue-compile .\src\components\Component.vue -o ./dist/Component.vue fails with this error message when using vue-class-component:

SyntaxError: ...\src\components\Component.vue: Support for the experimental syntax 'decorators-legacy' isn't currently enabled (129:1):

  127 | import { debounce } from '../VirtualScroll/debounce'
  128 | 
> 129 | @Component({
      | ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions