veaury icon indicating copy to clipboard operation
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

Open prajapati-mukesh opened this issue 6 months ago • 1 comments

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 avatar Jun 07 '25 17:06 prajapati-mukesh

@prajapati-mukesh

import { applyPureReactInVue } from 'veaury'

devilwjp avatar Jun 12 '25 01:06 devilwjp