Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

feat(auto-import)!: auto unwrap for auto import in template - #5573

Merged
pi0 merged 1 commit into
mainfrom
feat/vue-template-auto-unwrap
Jun 23, 2022
Merged

feat(auto-import)!: auto unwrap for auto import in template#5573
pi0 merged 1 commit into
mainfrom
feat/vue-template-auto-unwrap

Conversation

@antfu

Copy link
Copy Markdown
Member

🔗 Linked issue

unjs/unimport#72

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

While this is technically a breaking change, it should only affect a very rare usage. (in RC4, auto import a ref, and use the ref to do some operation in the template). Volar will give a proper error to ask the user to remove .value and it would work.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify

netlifyBot commented Jun 22, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs canceled.

NameLink
🔨 Latest commit2e05945
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/62b38042a1184b0008964ba6

pi0
pi0 approved these changes Jun 22, 2022
@pi0
pi0 merged commit 2db154f into mainJun 23, 2022
@pi0
pi0 deleted the feat/vue-template-auto-unwrap branch June 23, 2022 09:51
@pi0pi0 mentioned this pull request Jul 11, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@antfu@pi0@danielroe