When building Vue storybook, with recent changes started getting below error as vue-to-react is dependency in @storybook/addon-docs
ERROR Failed to compile with 2 errors 11:37:40 AM
error in ./node_modules/@egoist/vue-to-react/dist/index.mjs
Can't import the named export 'createApp' from non EcmaScript module (only default export is available)
error in ./node_modules/@egoist/vue-to-react/dist/index.mjs
Can't import the named export 'h' from non EcmaScript module (only default export is available)
Suggested change
import * as Vue from 'vue'
to
import Vue from 'vue'
at https://github.com/egoist/vue-to-react/blob/master/src/index.ts#L2
@egoist Let me know if this is fine, i can raise PR for same
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too