Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

refactor(nuxt): deprecate <Script> component tag in template #8197

Merged
merged 2 commits into from Oct 15, 2022

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

❓ 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

Including <Script> in template may possibly open the door to unexpected behaviour. We expect to release nuxt/scripts to significantly improve experience for users and module authors, and in preparation, we want to deprecate <Script> in favour of directly using useHead.

πŸ“ Checklist

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

@danielroe danielroe added enhancement New feature or request 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Oct 14, 2022
@danielroe danielroe requested a review from pi0 October 14, 2022 14:57
@danielroe danielroe self-assigned this Oct 14, 2022
@codesandbox
Copy link

codesandbox bot commented Oct 14, 2022

CodeSandbox logoCodeSandbox logoΒ  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify
Copy link

netlify bot commented Oct 14, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit 2c98e35
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/634979609effc70009c2139d

@pi0 pi0 changed the title fix(nuxt): deprecate <Script> tag in template fix(nuxt): deprecate <Script> component tag in template Oct 15, 2022
@pi0 pi0 changed the title fix(nuxt): deprecate <Script> component tag in template refactor(nuxt): deprecate <Script> component tag in template Oct 15, 2022
@pi0 pi0 merged commit 5e7dfc2 into main Oct 15, 2022
@pi0 pi0 deleted the fix/deprecate-script branch October 15, 2022 11:20
@pi0 pi0 mentioned this pull request Oct 18, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x enhancement New feature or request 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants