Problem with build process
stared opened this issue · comments
Well, the build process does not work.
The elements can be imported, but the data field is not accessible, resulting in errors for some elements (for TypeScript syntax for Vue.js, much nicer)
- https://stackoverflow.com/questions/56804072/rollup-typescript-decorators-support
- rollup/rollup-plugin-typescript#88
- rollup/rollup#1763
- vuejs/rollup-plugin-vue#153
Though, it may be something different, as I now see - for ket it works (even with data). Strange.
More insight:
- vuejs/vue-class-component#294
- https://forum.vuejs.org/t/vue-class-component-vue-cli-3-with-es7-does-not-work/57262
Will check these routes as well
ba4ab7d didn't work (to the point that the component does not work at all)
Next pointers:
And:
- kaorun343/vue-property-decorator#263
- https://webdevelop.pro/blog/vuejs-and-typescript-problems-collection - but it seems there are similar problems
In general, vue-property-decorator
seems to be a tricky choice. While I love its cleaner syntax:
- it is not officially supported,
- results in various errors here and there.
Also, it is possible that the issue was due to a generator having side effects (and, in fact, issues with linter for vue-property-decorator) than anything else.
In any case, solved by removing vue-property-decorator
syntax - see #17 and in particular 79dec27. Now it works like a charm (also when built & imported):