Skip to content
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

fix: vue2 compiler issue #356

Merged
merged 2 commits into from
May 1, 2024
Merged

fix: vue2 compiler issue #356

merged 2 commits into from
May 1, 2024

Conversation

twt898xu
Copy link
Contributor

Description

Fix a Vue2 compiler issue

Linked Issues

closes #355

Additional context

Copy link

stackblitz bot commented Apr 12, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@antfu
Copy link
Member

antfu commented Apr 12, 2024

I think we better do a fallback to support both old and new versions. Like mod.default || mod

@antfu antfu closed this Apr 12, 2024
@antfu antfu reopened this Apr 12, 2024
@antfu antfu merged commit c681526 into unplugin:main May 1, 2024
2 checks passed
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 this pull request may close these issues.

An issue for vue2(<2.7) compiler with "transpile is not a function"
2 participants