vatson / rollup-plugin-vuetify

Vuetify autoloader 🤖
MIT License
20 stars 1 forks source link

Error when compile SFC with vue-property-decorator #68

Closed VladimirCores closed 3 years ago

VladimirCores commented 3 years ago

(plugin vuetify) SyntaxError: This experimental syntax requires enabling one of the following parser plugin(s): 'decorators-legacy, decorators' (80:0)

plugins: [
      aliases(),
      replace(baseConfig.plugins.replace),
      typescript(),
      vue({ ...baseConfig.plugins.vue }),
      vuetify(),
      terser({ output: { ecma: 5 } }),
    ],

Any ideas why?

VladimirCores commented 3 years ago

Looks like the plugin does not work with TypeScript and vue-property-decorator.

vatson commented 3 years ago

@vladimircores looks strange because the demo successfully uses vue-property-decorator and typescript. Please check the appropriate folder https://github.com/vatson/rollup-plugin-vuetify/tree/dev/demo with the build file and src where you can find examples of using decorators.

vatson commented 3 years ago

@vladimircores I am closing this due to lack of activity and additional information.

If you have something just let me know. The issue can be reopened