veaury
veaury copied to clipboard
Help Needed: Using veaury with Quasar SSR - "SyntaxError: [vite] Named export 'applyPureReactInVue' not found. The requested module 'veaury' is a CommonJS module" errors
I’m currently working on a Quasar SSR project where I want to integrate veaury (a library to integrate React components in Vue) to enhance our UI capabilities.
However, I’m running into some issues related to module formats and environment compatibility:
When I try to import veaury in ES modules style like this:
import veaury from 'veaury';
`SyntaxError: [vite] Named export 'applyPureReactInVue' not found. The requested module 'veaury' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:```
import pkg from 'veaury';
const {applyPureReactInVue} = pkg;'`
@prajapati-mukesh
import { applyPureReactInVue } from 'veaury'