Skip to content

Add support for Vue 3 and JSX #1277

Closed
@Kocal

Description

@Kocal

While scrolling the source code, I've just seen:

        // useJsx and vue 3 are not currently supported by Encore
        if (this.vueOptions.useJsx && this.vueOptions.version === 3) {
            throw new Error('Setting both "useJsx: true" and "version: 3" for enableVueLoader() is not currently supported. Please use version: 2 or disable useJsx.');
        }

Since we plan to deprecate and remove Vue 2 support (#1276), it means users won't be able to use JSX anymore if we don't add JSX support with Vue 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions