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: nuxt 3.0.0 stable support #250

Merged
merged 3 commits into from Nov 22, 2022
Merged

fix: nuxt 3.0.0 stable support #250

merged 3 commits into from Nov 22, 2022

Conversation

chriscab83
Copy link
Contributor

@chriscab83 chriscab83 commented Nov 16, 2022

Description

Adds support with backward compatibility for the new Nuxt 3.0.0 stable release.

Linked Issues

fixes #249

Additional context

Since there is no test regarding this feature currently and it requires different versions of Nuxt installed to validate, so I manually tested via examples/nuxt3.

  • The example using nuxt@3.0.0-rc.12 runs correctly before my change.
  • The example using nuxt@3.0.0 failed to run without my change.
    Cannot read properties of undefined (reading 'nuxt')
  • The example using nuxt@3.0.0 runs correctly with my change.
  • The example using nuxt@3.0.0-rc.12 runs correctly after my change. (backward compatible)

README.md Outdated
@@ -335,9 +335,9 @@ export default defineConfig({


<details>
<summary>Vue 3</summary><br>
<summary>Vue 3 / Vue 2.7+</summary><br>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this? it is on main

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't have expected it to represent itself that way, but it was caused because my forked main branch was out of sync with your main branch; it was missing the commit with that addition. I merged your main into mine and it removed the change though. I also reviewed the files changed after the merge to make sure it only included the expected changes. Should be good now, @userquin.

@antfu antfu merged commit a7e7c03 into unplugin:main Nov 22, 2022
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.

Cannot work with nuxt 3.0.0-rc.14
3 participants