Skip to content

Add support for Vue 3 and JSX #1277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Kocal opened this issue Aug 21, 2024 · 0 comments · Fixed by #1295
Closed

Add support for Vue 3 and JSX #1277

Kocal opened this issue Aug 21, 2024 · 0 comments · Fixed by #1295
Milestone

Comments

@Kocal
Copy link
Member

Kocal commented Aug 21, 2024

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.

@Kocal Kocal mentioned this issue Aug 21, 2024
@Kocal Kocal added this to the 4.17 milestone Aug 22, 2024
@Kocal Kocal closed this as completed in bf632ed Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant