Skip to content

Help Needed: Using veaury with Quasar SSR - "SyntaxError: [vite] Named export 'applyPureReactInVue' not found. The requested module 'veaury' is a CommonJS module" errors #175

@prajapati-mukesh

Description

@prajapati-mukesh

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;'`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions