Closed rcovell closed 3 years ago
After digging around the issue was solved for us by the below links: https://github.com/vuejs/vue-cli/issues/4065 https://github.com/vuejs/vue-class-component/issues/337
In addition had to follow issue #293 as we did for development.
Reference issue: https://github.com/vuejs/vue-class-component/issues/293
Facing the opposite issue of above. In fact, we were having that issue, and the solution was spot on (via a plugin we are consuming vue-class-components created in storybook ). Everything works as expected when running in development mode. When we compile it for production nothing written with vue-class-components works. Verified this by converting a simple component in the plugin to a vanilla vue component. Saw success, reverted the changes to be a vue-class-component, and it goes away.
Is there anything special we need to do to get vue-class-component from a plugin working in production.